From 79affb22211ddf5a63fed3dcb8b6952e5d40145e Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 21 Jul 2025 11:47:33 +0200 Subject: [PATCH] Remove legacy config for disabling annotations --- src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/App/Kernel.php | 1 - .../Compiler/AddSessionDomainConstraintPassTest.php | 2 +- .../Tests/Functional/app/Authenticator/config.yml | 1 - .../Tests/Functional/app/FirewallEntryPoint/config.yml | 1 - .../SecurityBundle/Tests/Functional/app/config/framework.yml | 1 - .../TwigBundle/Tests/Functional/NoTemplatingEntryTest.php | 1 - .../Tests/Functional/WebProfilerBundleKernel.php | 1 - .../AssetMapper/Tests/Fixtures/AssetMapperTestAppKernel.php | 1 - .../AssetMapper/Tests/Fixtures/ImportMapTestAppKernel.php | 1 - 9 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/App/Kernel.php b/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/App/Kernel.php index 1b72293419c59..6c738a47f21b5 100644 --- a/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/App/Kernel.php +++ b/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/App/Kernel.php @@ -50,7 +50,6 @@ protected function configureContainer(ContainerConfigurator $container): void 'router' => ['utf8' => true], 'secret' => 'for your eyes only', 'test' => true, - 'annotations' => false, 'http_method_override' => false, 'handle_all_throwables' => true, 'php_errors' => ['log' => true], diff --git a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Compiler/AddSessionDomainConstraintPassTest.php b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Compiler/AddSessionDomainConstraintPassTest.php index cf8527589ee2c..d94b34f4ef5c5 100644 --- a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Compiler/AddSessionDomainConstraintPassTest.php +++ b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Compiler/AddSessionDomainConstraintPassTest.php @@ -145,7 +145,7 @@ private function createContainer($sessionStorageOptions) ]; $ext = new FrameworkExtension(); - $ext->load(['framework' => ['annotations' => false, 'http_method_override' => false, 'handle_all_throwables' => true, 'php_errors' => ['log' => true], 'csrf_protection' => false, 'router' => ['resource' => 'dummy', 'utf8' => true]]], $container); + $ext->load(['framework' => ['http_method_override' => false, 'handle_all_throwables' => true, 'php_errors' => ['log' => true], 'csrf_protection' => false, 'router' => ['resource' => 'dummy', 'utf8' => true]]], $container); $ext = new SecurityExtension(); $ext->load($config, $container); diff --git a/src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/Authenticator/config.yml b/src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/Authenticator/config.yml index 196dcfe1774d2..913cd2a7f9348 100644 --- a/src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/Authenticator/config.yml +++ b/src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/Authenticator/config.yml @@ -1,5 +1,4 @@ framework: - annotations: false http_method_override: false handle_all_throwables: true secret: test diff --git a/src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/FirewallEntryPoint/config.yml b/src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/FirewallEntryPoint/config.yml index 31b0af34088a3..0e8da68e34093 100644 --- a/src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/FirewallEntryPoint/config.yml +++ b/src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/FirewallEntryPoint/config.yml @@ -1,5 +1,4 @@ framework: - annotations: false http_method_override: false handle_all_throwables: true secret: test diff --git a/src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/config/framework.yml b/src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/config/framework.yml index 0f2e1344d0e71..1a8d83dd130d0 100644 --- a/src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/config/framework.yml +++ b/src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/config/framework.yml @@ -1,5 +1,4 @@ framework: - annotations: false http_method_override: false handle_all_throwables: true secret: test diff --git a/src/Symfony/Bundle/TwigBundle/Tests/Functional/NoTemplatingEntryTest.php b/src/Symfony/Bundle/TwigBundle/Tests/Functional/NoTemplatingEntryTest.php index 01abd85b21c3b..4123ddd8633e9 100644 --- a/src/Symfony/Bundle/TwigBundle/Tests/Functional/NoTemplatingEntryTest.php +++ b/src/Symfony/Bundle/TwigBundle/Tests/Functional/NoTemplatingEntryTest.php @@ -64,7 +64,6 @@ public function registerContainerConfiguration(LoaderInterface $loader): void { $loader->load(function (ContainerBuilder $container) { $config = [ - 'annotations' => false, 'http_method_override' => false, 'php_errors' => ['log' => true], 'secret' => '$ecret', diff --git a/src/Symfony/Bundle/WebProfilerBundle/Tests/Functional/WebProfilerBundleKernel.php b/src/Symfony/Bundle/WebProfilerBundle/Tests/Functional/WebProfilerBundleKernel.php index 0447e5787401e..f8af2e5224cbd 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Tests/Functional/WebProfilerBundleKernel.php +++ b/src/Symfony/Bundle/WebProfilerBundle/Tests/Functional/WebProfilerBundleKernel.php @@ -51,7 +51,6 @@ protected function configureRoutes(RoutingConfigurator $routes): void protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader): void { $config = [ - 'annotations' => false, 'http_method_override' => false, 'php_errors' => ['log' => true], 'secret' => 'foo-secret', diff --git a/src/Symfony/Component/AssetMapper/Tests/Fixtures/AssetMapperTestAppKernel.php b/src/Symfony/Component/AssetMapper/Tests/Fixtures/AssetMapperTestAppKernel.php index 426e97b810cfd..d7b268acad936 100644 --- a/src/Symfony/Component/AssetMapper/Tests/Fixtures/AssetMapperTestAppKernel.php +++ b/src/Symfony/Component/AssetMapper/Tests/Fixtures/AssetMapperTestAppKernel.php @@ -36,7 +36,6 @@ public function registerContainerConfiguration(LoaderInterface $loader): void { $loader->load(static function (ContainerBuilder $container) { $container->loadFromExtension('framework', [ - 'annotations' => false, 'http_method_override' => false, 'handle_all_throwables' => true, 'php_errors' => ['log' => true], diff --git a/src/Symfony/Component/AssetMapper/Tests/Fixtures/ImportMapTestAppKernel.php b/src/Symfony/Component/AssetMapper/Tests/Fixtures/ImportMapTestAppKernel.php index 42d4b65d2af6a..856237ee63602 100644 --- a/src/Symfony/Component/AssetMapper/Tests/Fixtures/ImportMapTestAppKernel.php +++ b/src/Symfony/Component/AssetMapper/Tests/Fixtures/ImportMapTestAppKernel.php @@ -35,7 +35,6 @@ public function registerContainerConfiguration(LoaderInterface $loader): void { $loader->load(static function (ContainerBuilder $container) { $container->loadFromExtension('framework', [ - 'annotations' => false, 'http_method_override' => false, 'handle_all_throwables' => true, 'php_errors' => ['log' => true], pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy