Skip to content

Commit 9934252

Browse files
feature #31700 [MonologBridge] RouteProcessor class is now final to ease the the removal of deprecated event (Simperfit)
This PR was merged into the 4.4 branch. Discussion ---------- [MonologBridge] RouteProcessor class is now final to ease the the removal of deprecated event | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | none <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | none <!-- required for new features --> <!-- Replace this notice by a short README for your feature/bugfix. This will help people understand your PR and can be used as a start for the documentation. Additionally (see https://symfony.com/roadmap): - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the master branch. --> To ease the removal of deprecated events this class has been made final as said in #31672 (comment) Commits ------- 9646364 [MonologBridge] RouteProcessor class is now final to ease the the removal of deprecated event
2 parents 8fc75e3 + 9646364 commit 9934252

File tree

4 files changed

+18
-1
lines changed

4 files changed

+18
-1
lines changed

UPGRADE-4.4.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,13 @@ DependencyInjection
2525
factory: ['@factory_service', method]
2626
```
2727
28+
MonologBridge
29+
--------------
30+
31+
* The `RouteProcessor` has been marked final.
32+
2833
TwigBridge
2934
----------
3035

3136
* Deprecated to pass `$rootDir` and `$fileLinkFormatter` as 5th and 6th argument respectively to the
32-
`DebugCommand::__construct()` method, swap the variables position.
37+
`DebugCommand::__construct()` method, swap the variables position.

UPGRADE-5.0.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,11 @@ Monolog
275275

276276
* The methods `DebugProcessor::getLogs()`, `DebugProcessor::countErrors()`, `Logger::getLogs()` and `Logger::countErrors()` have a new `$request` argument.
277277

278+
MonologBridge
279+
--------------
280+
281+
* The `RouteProcessor` class is final.
282+
278283
Process
279284
-------
280285

src/Symfony/Bridge/Monolog/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
4.4.0
5+
-----
6+
7+
* The `RouteProcessor` class has been made final
8+
49
4.3.0
510
-----
611

src/Symfony/Bridge/Monolog/Processor/RouteProcessor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
* Adds the current route information to the log entry.
2222
*
2323
* @author Piotr Stankowski <git@trakos.pl>
24+
*
25+
* @final since Symfony 4.4
2426
*/
2527
class RouteProcessor implements EventSubscriberInterface, ResetInterface
2628
{

0 commit comments

Comments
 (0)