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
In the security bundle's extension class for Symfony v2.7.0 (and apparently still in master and 2.7 branches) there is still a reference to Symfony\Component\Security\Core\SecurityContext in a call to addClassesToCompile() on line 103 in file src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php.
Due to SexurityContext being included in the compiled classes.map and classes.php, two deprecated errors are thrown on every request (an extra one is thrown due to the inclusion of SecurityContextInterface which SecurityContext implements).
The text was updated successfully, but these errors were encountered:
…(Zander Baldwin)
This PR was merged into the 2.7 branch.
Discussion
----------
[2.7][SecurityBundle] Remove SecurityContext from Compile
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | no change
| Fixed tickets | #14831
| License | MIT
| Doc PR | n/a
Remove the deprecated [SecurityContext](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Security/Core/SecurityContext.php) from the list of classes to compile into `classes.map` and `classes.php`. Prevents `E_USER_DEPRECATED` notices from being thrown on every request.
Commits
-------
1778e02 [2.7][SecurityBundle] Remove SecurityContext from Compile
In the security bundle's extension class for Symfony
v2.7.0
(and apparently still inmaster
and2.7
branches) there is still a reference toSymfony\Component\Security\Core\SecurityContext
in a call toaddClassesToCompile()
on line 103 in filesrc/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php
.Due to
SexurityContext
being included in the compiledclasses.map
andclasses.php
, two deprecated errors are thrown on every request (an extra one is thrown due to the inclusion ofSecurityContextInterface
whichSecurityContext
implements).The text was updated successfully, but these errors were encountered: