@@ -41,21 +41,22 @@ public function testRulesAreAddedWhenFormatListenerAndProfilerToolbarAreEnabled(
4141
4242 $ container ->expects ($ this ->exactly (2 ))
4343 ->method ('getParameter ' )
44- ->will ($ this -> onConsecutiveCalls (
45- 2 ,
46- [
44+ ->will (
45+ $ this -> onConsecutiveCalls (
46+ 2 ,
4747 [
48- 'host ' => null ,
49- 'methods ' => null ,
50- 'path ' => '^/ ' ,
51- 'priorities ' => ['html ' , 'json ' ],
52- 'fallback_format ' => 'html ' ,
53- 'attributes ' => [],
54- 'prefer_extension ' => true ,
55- ],
56- ]
57- )
58- );
48+ [
49+ 'host ' => null ,
50+ 'methods ' => null ,
51+ 'path ' => '^/ ' ,
52+ 'priorities ' => ['html ' , 'json ' ],
53+ 'fallback_format ' => 'html ' ,
54+ 'attributes ' => [],
55+ 'prefer_extension ' => true ,
56+ ],
57+ ]
58+ )
59+ );
5960
6061 $ container ->expects ($ this ->exactly (2 ))
6162 ->method ('getDefinition ' )
@@ -88,18 +89,20 @@ public function testNoRulesAreAddedWhenProfilerToolbarAreDisabled()
8889 $ container ->expects ($ this ->once ())
8990 ->method ('getParameter ' )
9091 ->with ('fos_rest.format_listener.rules ' )
91- ->will ($ this -> returnValue (
92- [
92+ ->will (
93+ $ this -> returnValue (
9394 [
94- 'host ' => null ,
95- 'methods ' => null ,
96- 'path ' => '^/ ' ,
97- 'priorities ' => ['html ' , 'json ' ],
98- 'fallback_format ' => 'html ' ,
99- 'attributes ' => [],
100- 'prefer_extension ' => true ,
101- ],
102- ])
95+ [
96+ 'host ' => null ,
97+ 'methods ' => null ,
98+ 'path ' => '^/ ' ,
99+ 'priorities ' => ['html ' , 'json ' ],
100+ 'fallback_format ' => 'html ' ,
101+ 'attributes ' => [],
102+ 'prefer_extension ' => true ,
103+ ],
104+ ]
105+ )
103106 );
104107
105108 $ container ->expects ($ this ->once ())
0 commit comments