Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dc296cc

Browse filesBrowse files
committed
bug #14837 [2.7][SecurityBundle] Remove SecurityContext from Compile (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
2 parents 1dbf67e + 1778e02 commit dc296cc
Copy full SHA for dc296cc

File tree

Expand file treeCollapse file tree

1 file changed

+0
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-1
lines changed

‎src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ public function load(array $configs, ContainerBuilder $container)
100100
// add some required classes for compilation
101101
$this->addClassesToCompile(array(
102102
'Symfony\\Component\\Security\\Http\\Firewall',
103-
'Symfony\\Component\\Security\\Core\\SecurityContext',
104103
'Symfony\\Component\\Security\\Core\\User\\UserProviderInterface',
105104
'Symfony\\Component\\Security\\Core\\Authentication\\AuthenticationProviderManager',
106105
'Symfony\\Component\\Security\\Core\\Authentication\\Token\\Storage\\TokenStorage',

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.