Skip to content

Commit 6e14bca

Browse files
minor symfony#61174 Remove legacy config for disabling annotations (nicolas-grekas)
This PR was merged into the 7.4 branch. Discussion ---------- Remove legacy config for disabling annotations | Q | A | ------------- | --- | Branch? | 7.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT Commits ------- 79affb2 Remove legacy config for disabling annotations
2 parents b065b9a + 79affb2 commit 6e14bca

File tree

9 files changed

+1
-9
lines changed

9 files changed

+1
-9
lines changed

src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/App/Kernel.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ protected function configureContainer(ContainerConfigurator $container): void
5050
'router' => ['utf8' => true],
5151
'secret' => 'for your eyes only',
5252
'test' => true,
53-
'annotations' => false,
5453
'http_method_override' => false,
5554
'handle_all_throwables' => true,
5655
'php_errors' => ['log' => true],

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Compiler/AddSessionDomainConstraintPassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ private function createContainer($sessionStorageOptions)
145145
];
146146

147147
$ext = new FrameworkExtension();
148-
$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);
148+
$ext->load(['framework' => ['http_method_override' => false, 'handle_all_throwables' => true, 'php_errors' => ['log' => true], 'csrf_protection' => false, 'router' => ['resource' => 'dummy', 'utf8' => true]]], $container);
149149

150150
$ext = new SecurityExtension();
151151
$ext->load($config, $container);

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/Authenticator/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
framework:
2-
annotations: false
32
http_method_override: false
43
handle_all_throwables: true
54
secret: test

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/FirewallEntryPoint/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
framework:
2-
annotations: false
32
http_method_override: false
43
handle_all_throwables: true
54
secret: test

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/config/framework.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
framework:
2-
annotations: false
32
http_method_override: false
43
handle_all_throwables: true
54
secret: test

src/Symfony/Bundle/TwigBundle/Tests/Functional/NoTemplatingEntryTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ public function registerContainerConfiguration(LoaderInterface $loader): void
6464
{
6565
$loader->load(function (ContainerBuilder $container) {
6666
$config = [
67-
'annotations' => false,
6867
'http_method_override' => false,
6968
'php_errors' => ['log' => true],
7069
'secret' => '$ecret',

src/Symfony/Bundle/WebProfilerBundle/Tests/Functional/WebProfilerBundleKernel.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ protected function configureRoutes(RoutingConfigurator $routes): void
5151
protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader): void
5252
{
5353
$config = [
54-
'annotations' => false,
5554
'http_method_override' => false,
5655
'php_errors' => ['log' => true],
5756
'secret' => 'foo-secret',

src/Symfony/Component/AssetMapper/Tests/Fixtures/AssetMapperTestAppKernel.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ public function registerContainerConfiguration(LoaderInterface $loader): void
3636
{
3737
$loader->load(static function (ContainerBuilder $container) {
3838
$container->loadFromExtension('framework', [
39-
'annotations' => false,
4039
'http_method_override' => false,
4140
'handle_all_throwables' => true,
4241
'php_errors' => ['log' => true],

src/Symfony/Component/AssetMapper/Tests/Fixtures/ImportMapTestAppKernel.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ public function registerContainerConfiguration(LoaderInterface $loader): void
3535
{
3636
$loader->load(static function (ContainerBuilder $container) {
3737
$container->loadFromExtension('framework', [
38-
'annotations' => false,
3938
'http_method_override' => false,
4039
'handle_all_throwables' => true,
4140
'php_errors' => ['log' => true],

0 commit comments

Comments
 (0)