Skip to content

Commit 9e3855f

Browse files
Tobionfabpot
authored andcommitted
[FrameworkBundle] deprecate not setting http_method_override
1 parent 4946622 commit 9e3855f

File tree

8 files changed

+8
-1
lines changed

8 files changed

+8
-1
lines changed

Tests/DependencyInjection/Compiler/AddSessionDomainConstraintPassTest.php

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

148148
$ext = new FrameworkExtension();
149-
$ext->load(['framework' => ['csrf_protection' => false, 'router' => ['resource' => 'dummy', 'utf8' => true]]], $container);
149+
$ext->load(['framework' => ['http_method_override' => false, 'csrf_protection' => false, 'router' => ['resource' => 'dummy', 'utf8' => true]]], $container);
150150

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

Tests/Functional/app/Authenticator/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
framework:
2+
http_method_override: false
23
secret: test
34
router: { resource: "%kernel.project_dir%/%kernel.test_case%/routing.yml", utf8: true }
45
test: ~

Tests/Functional/app/FirewallEntryPoint/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
framework:
2+
http_method_override: false
23
secret: test
34
router: { resource: "%kernel.project_dir%/%kernel.test_case%/routing.yml", utf8: true }
45
validation: { enabled: true, enable_annotations: true }

Tests/Functional/app/JsonLogin/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ imports:
22
- { resource: ./../config/framework.yml }
33

44
framework:
5+
http_method_override: false
56
serializer: ~
67

78
security:

Tests/Functional/app/JsonLogin/legacy_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ imports:
22
- { resource: ./../config/framework.yml }
33

44
framework:
5+
http_method_override: false
56
serializer: ~
67

78
security:

Tests/Functional/app/RememberMe/stateless_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ imports:
33
- { resource: ./config_session.yml }
44

55
framework:
6+
http_method_override: false
67
session:
78
cookie_secure: auto
89
cookie_samesite: lax

Tests/Functional/app/StandardFormLogin/login_throttling.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ imports:
22
- { resource: ./base_config.yml }
33

44
framework:
5+
http_method_override: false
56
lock: ~
67
rate_limiter: ~
78

Tests/Functional/app/config/framework.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
framework:
2+
http_method_override: false
23
secret: test
34
router: { resource: "%kernel.project_dir%/%kernel.test_case%/routing.yml", utf8: true }
45
validation: { enabled: true, enable_annotations: true }

0 commit comments

Comments
 (0)