Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit25ba77a

Browse files
committed
Remove legacy code
1 parent34a37bf commit25ba77a

File tree

18 files changed

+3
-234
lines changed

18 files changed

+3
-234
lines changed

‎src/Symfony/Bundle/FrameworkBundle/Tests/Command/CacheClearCommand/Fixture/TestAppKernel.php‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@ public function registerContainerConfiguration(LoaderInterface $loader)
3636
$loader->load(__DIR__.\DIRECTORY_SEPARATOR.'config.yml');
3737
}
3838

39-
publicfunctionsetAnnotatedClassCache(array$annotatedClasses)
40-
{
41-
$annotatedClasses =array_diff($annotatedClasses, ['Symfony\Bundle\WebProfilerBundle\Controller\ExceptionController','Symfony\Bundle\TwigBundle\Controller\ExceptionController','Symfony\Bundle\TwigBundle\Controller\PreviewErrorController']);
42-
43-
parent::setAnnotatedClassCache($annotatedClasses);
44-
}
45-
4639
protectedfunctionbuild(ContainerBuilder$container)
4740
{
4841
$container->register('logger', NullLogger::class);

‎src/Symfony/Bundle/FrameworkBundle/Tests/Functional/app/BundlePaths/config.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ framework:
88

99
twig:
1010
strict_variables:'%kernel.debug%'
11-
exception_controller:null# to be removed in 5.0

‎src/Symfony/Bundle/FrameworkBundle/Tests/Functional/app/Fragment/config.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ framework:
77

88
twig:
99
strict_variables:'%kernel.debug%'
10-
exception_controller:null# to be removed in 5.0

‎src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/config/twig.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
twig:
33
debug:'%kernel.debug%'
44
strict_variables:'%kernel.debug%'
5-
exception_controller:null# to be removed in 5.0

‎src/Symfony/Bundle/TwigBundle/CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ CHANGELOG
99
* removed`TwigEngine` class, use`Twig\Environment` instead
1010
* removed`FilesystemLoader` and`NativeFilesystemLoader`, use Twig notation for templates instead
1111
* updated default value for the`twig.exception_controller` option to`null`
12-
* removed`ExceptionController` class and all built-in error templates in favor of the new error renderer mechanism
12+
* removed`ExceptionController`,`PreviewErrorController` and all built-in error templates in favor of the new error renderer mechanism
1313

1414
4.4.0
1515
-----

‎src/Symfony/Bundle/TwigBundle/Controller/PreviewErrorController.php‎

Lines changed: 0 additions & 60 deletions
This file was deleted.

‎src/Symfony/Bundle/TwigBundle/DependencyInjection/Compiler/ExceptionListenerPass.php‎

Lines changed: 0 additions & 47 deletions
This file was deleted.

‎src/Symfony/Bundle/TwigBundle/DependencyInjection/Configuration.php‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,6 @@ public function getConfigTreeBuilder()
3232
$treeBuilder =newTreeBuilder('twig');
3333
$rootNode =$treeBuilder->getRootNode();
3434

35-
$rootNode
36-
->children()
37-
->scalarNode('exception_controller')
38-
->defaultNull()
39-
->end()
40-
->end()
41-
;
42-
4335
$this->addFormThemesSection($rootNode);
4436
$this->addGlobalsSection($rootNode);
4537
$this->addTwigOptions($rootNode);

‎src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ public function load(array $configs, ContainerBuilder $container)
7070

7171
$config =$this->processConfiguration($configuration,$configs);
7272

73-
$container->setParameter('twig.exception_listener.controller',$config['exception_controller']);
74-
7573
$container->setParameter('twig.form.resources',$config['form_themes']);
7674
$container->setParameter('twig.default_path',$config['default_path']);
7775
$defaultTwigPath =$container->getParameterBag()->resolveValue($config['default_path']);

‎src/Symfony/Bundle/TwigBundle/Resources/config/routing/errors.xml‎

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp