[MonologBridge] RouteProcessor class is now final to ease the the removal of deprecated event

This commit is contained in:
Amrouche Hamza 2019-05-29 19:05:37 +02:00
parent 8fc75e30a6
commit 9646364476
No known key found for this signature in database
GPG Key ID: E45A3DA456145BC1
4 changed files with 18 additions and 1 deletions

View File

@ -25,8 +25,13 @@ DependencyInjection
factory: ['@factory_service', method] factory: ['@factory_service', method]
``` ```
MonologBridge
--------------
* The `RouteProcessor` has been marked final.
TwigBridge TwigBridge
---------- ----------
* Deprecated to pass `$rootDir` and `$fileLinkFormatter` as 5th and 6th argument respectively to the * Deprecated to pass `$rootDir` and `$fileLinkFormatter` as 5th and 6th argument respectively to the
`DebugCommand::__construct()` method, swap the variables position. `DebugCommand::__construct()` method, swap the variables position.

View File

@ -275,6 +275,11 @@ Monolog
* The methods `DebugProcessor::getLogs()`, `DebugProcessor::countErrors()`, `Logger::getLogs()` and `Logger::countErrors()` have a new `$request` argument. * The methods `DebugProcessor::getLogs()`, `DebugProcessor::countErrors()`, `Logger::getLogs()` and `Logger::countErrors()` have a new `$request` argument.
MonologBridge
--------------
* The `RouteProcessor` class is final.
Process Process
------- -------

View File

@ -1,6 +1,11 @@
CHANGELOG CHANGELOG
========= =========
4.4.0
-----
* The `RouteProcessor` class has been made final
4.3.0 4.3.0
----- -----

View File

@ -21,6 +21,8 @@ use Symfony\Contracts\Service\ResetInterface;
* Adds the current route information to the log entry. * Adds the current route information to the log entry.
* *
* @author Piotr Stankowski <git@trakos.pl> * @author Piotr Stankowski <git@trakos.pl>
*
* @final since Symfony 4.4
*/ */
class RouteProcessor implements EventSubscriberInterface, ResetInterface class RouteProcessor implements EventSubscriberInterface, ResetInterface
{ {