You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #26802 [Security] register custom providers on ExpressionLanguage directly (dmaicher)
This PR was merged into the 3.4 branch.
Discussion
----------
[Security] register custom providers on ExpressionLanguage directly
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
This is a fix on 3.4 related to #26660.
See the comment from @stof here: #26660 (comment)
- fixes a bug where custom providers would not be registered when retrieving the `security.expression_language` instance without the `ExpressionVoter` being instantiated.
- avoids deprecations on 3.4 when using the 4.1 patch in #26660
Commits
-------
3a55a86 [Security] register custom providers on ExpressionLanguage directly
Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/AddExpressionLanguageProvidersPassTest.php
+11-17Lines changed: 11 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ public function testProcessForRouter()
0 commit comments