Skip to content

Commit a50540b

Browse files
committed
update test fixtures to not trigger deprecations
1 parent 53b394e commit a50540b

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Tests/DependencyInjection/Fixtures/php/form_csrf_disabled.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
'form' => [
66
'csrf_protection' => true,
77
],
8+
'http_method_override' => false,
89
]);

Tests/DependencyInjection/Fixtures/xml/form_csrf_disabled.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
http://symfony.com/schema/dic/symfony
99
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd"
1010
>
11-
<framework:config>
11+
<framework:config http-method-override="false">
1212
<framework:csrf-protection enabled="false"/>
1313
<framework:form enabled="true">
1414
<framework:csrf-protection enabled="true"/>

Tests/DependencyInjection/Fixtures/yml/form_csrf_disabled.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ framework:
22
csrf_protection: false
33
form:
44
csrf_protection: true
5+
http_method_override: false

0 commit comments

Comments
 (0)