Skip to content

Commit 69c08ab

Browse files
committed
set method-override flag in test application to avoid symfony deprecation warning
1 parent 171c07b commit 69c08ab

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Resources/views/http_message.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{% set content = '' %}
33
{% set data = data|split("\n")|slice(1) %}
44
{% set xdebugTokenLink = data|filter(v => 'x-debug-token-link:' in v|lower)|first|split(': ')|last %}
5-
{% set noContent = 0 is same as capturedBodyLength ? '(captured_body_length is set to 0, no body captured)' : '(This message has no captured body)' %}
5+
{% set noContent = capturedBodyLength is same as(0) ? '(captured_body_length is set to 0, no body captured)' : '(This message has no captured body)' %}
66
<table>
77
<thead>
88
<tr>

tests/Resources/app/config/config_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
framework:
22
secret: php-http
33
test: ~
4+
http_method_override: false
45

56
httplug:
67
discovery:

0 commit comments

Comments
 (0)