@@ -80,7 +80,7 @@ public function youCanDeleteDefinedOperation(): void
8080 $ addListPets = $ this ->callApi (
8181 'post ' ,
8282 '/operation/listPets ' ,
83- ['default ' => ['response ' => ['code ' => 200 ]]]
83+ ['default ' => ['response ' => ['code ' => 200 ]]],
8484 );
8585
8686 $ deleteListPets = $ this ->callApi ('delete ' , '/operation/listPets ' );
@@ -115,13 +115,13 @@ public function youMayMatchDefinedMatcher(): void
115115 'args ' => ['field ' => ['path ' , 'petId ' ], 'value ' => 6 ],
116116 ],
117117 'response ' => $ expected ,
118- ]
118+ ],
119119 );
120120 self ::assertSame (201 , $ addMatcherForId6 ->getStatusCode ());
121121
122122 $ showPetById6 = $ this ->callMocking ('get ' , '/pets/6 ' );
123123 self ::assertSame ($ expected ['code ' ], $ showPetById6 ->getStatusCode ());
124- self ::assertSame ($ expected ['body ' ], (string )$ showPetById6 ->getBody ());
124+ self ::assertSame ($ expected ['body ' ], (string ) $ showPetById6 ->getBody ());
125125 }
126126
127127 #[Test]
@@ -205,7 +205,7 @@ public function youMayMatchMultipleDefinedMatchers(): void
205205
206206 $ showPetById6 = $ this ->callMocking ('get ' , '/pets/6 ' );
207207 self ::assertSame ($ matchId6 ['response ' ]['code ' ], $ showPetById6 ->getStatusCode ());
208- self ::assertSame ($ matchId6 ['response ' ]['body ' ], (string )$ showPetById6 ->getBody ());
208+ self ::assertSame ($ matchId6 ['response ' ]['body ' ], (string ) $ showPetById6 ->getBody ());
209209
210210 $ showPetByIdMinus1 = $ this ->callMocking ('get ' , '/pets/-1 ' );
211211 self ::assertSame ($ matchNegativeIds ['response ' ]['code ' ], $ showPetByIdMinus1 ->getStatusCode ());
@@ -280,12 +280,12 @@ public function youWontDeleteOperationWhenDeletingMatcher(): void
280280 ],
281281 );
282282
283- $ matcherForId6 = json_decode ((string )$ addMatcherForId6 ->getBody ());
283+ $ matcherForId6 = json_decode ((string ) $ addMatcherForId6 ->getBody ());
284284
285285
286286 $ deleteMatcherForId6 = $ this ->callApi (
287287 'delete ' ,
288- "/operation/showPetById/matcher/ $ matcherForId6 ->id "
288+ "/operation/showPetById/matcher/ $ matcherForId6 ->id " ,
289289 );
290290
291291 self ::assertSame (204 , $ deleteMatcherForId6 ->getStatusCode ());
@@ -298,7 +298,7 @@ public function youWontDeleteOperationWhenDeletingMatcher(): void
298298 public function youWillDeleteMatchersWhenDeletingOperation (): void
299299 {
300300 $ default = ['response ' => ['code ' => 404 ]];
301- $ addShowPetById = fn () => $ this ->callApi (
301+ $ addShowPetById = fn () => $ this ->callApi (
302302 'post ' ,
303303 '/operation/showPetById ' ,
304304 ['default ' => $ default ],
0 commit comments