@@ -105,16 +105,16 @@ public function testProcessDeprecationSuccessful()
105105
106106 $ this ->optionalPool ->expects ($ this ->once ())
107107 ->method ('getList ' )
108- ->willReturnCallback (function ($ filter ) use ($ patchFilter , $ patch1 ) {
109- if ($ filter === $ patchFilter ) {
110- return [$ patch1 ];
111- }
108+ ->willReturnCallback (function ($ filter ) use ($ patchFilter , $ patch1 ) {
109+ if ($ filter === $ patchFilter ) {
110+ return [$ patch1 ];
111+ }
112112 return [];
113- })
113+ })
114114 ->willReturn ([$ patchMock ]);
115115 $ this ->optionalPool ->expects ($ this ->once ())
116116 ->method ('getReplacedBy ' )
117- ->willReturnCallback (function ($ patchId ) use ($ patchFilter , $ patch1 ) {
117+ ->willReturnCallback (function ($ patchId ) use ($ patchFilter , $ patch1 ) {
118118 if ($ patchId === $ patch1 ->getId ()) {
119119 return [$ patch1 ];
120120 }
@@ -128,7 +128,7 @@ public function testProcessDeprecationSuccessful()
128128
129129 $ outputMock ->expects ($ this ->once ())
130130 ->method ('writeln ' )
131- ->willReturnCallback (function ($ patchId ) use ($ patchFilter ) {
131+ ->willReturnCallback (function ($ patchId ) use ($ patchFilter ) {
132132 if ($ patchId === $ expectedMessage ) {
133133 $ this ->stringContains ($ expectedMessage );
134134 }
@@ -157,7 +157,7 @@ public function testProcessDeprecationException()
157157
158158 $ this ->optionalPool ->expects ($ this ->once ())
159159 ->method ('getList ' )
160- ->willReturnCallback (function ($ filter ) use ($ patchFilter , $ patch1 ) {
160+ ->willReturnCallback (function ($ filter ) use ($ patchFilter , $ patch1 ) {
161161 if ($ filter === $ patchFilter ) {
162162 return [$ patch1 ];
163163 }
@@ -204,12 +204,12 @@ public function testProcessReplacementSuccessful()
204204
205205 $ this ->optionalPool ->expects ($ this ->once ())
206206 ->method ('getList ' )
207- ->willReturnCallback (function ($ filter ) use ($ patchFilter , $ patch1 ) {
208- if ($ filter === $ patchFilter ) {
209- return [$ patch1 ];
210- }
207+ ->willReturnCallback (function ($ filter ) use ($ patchFilter , $ patch1 ) {
208+ if ($ filter === $ patchFilter ) {
209+ return [$ patch1 ];
210+ }
211211 return [];
212- })
212+ })
213213 ->willReturn ([$ patchMock ]);
214214
215215 $ this ->aggregator ->expects ($ this ->once ())
@@ -218,7 +218,7 @@ public function testProcessReplacementSuccessful()
218218
219219 $ this ->optionalPool ->expects ($ this ->once ())
220220 ->method ('getReplacedBy ' )
221- ->willReturnCallback (function ($ filter ) use ($ patchFilter , $ patch1 ) {
221+ ->willReturnCallback (function ($ filter ) use ($ patchFilter , $ patch1 ) {
222222 if ($ filter === $ patchFilter ) {
223223 return [$ patch1 ];
224224 }
@@ -228,7 +228,7 @@ public function testProcessReplacementSuccessful()
228228
229229 $ outputMock ->expects ($ this ->once ())
230230 ->method ('writeln ' )
231- ->willReturnCallback (function ($ patchId ) use ($ patchFilter ) {
231+ ->willReturnCallback (function ($ patchId ) use ($ patchFilter ) {
232232 if ($ patchId === $ expectedMessage ) {
233233 $ this ->stringContains ($ expectedMessage );
234234 }
@@ -263,12 +263,12 @@ public function testSkippingReplacementProcessForAppliedPatch()
263263
264264 $ this ->optionalPool ->expects ($ this ->once ())
265265 ->method ('getList ' )
266- ->willReturnCallback (function ($ filter ) use ($ patchFilter , $ patch1 ) {
266+ ->willReturnCallback (function ($ filter ) use ($ patchFilter , $ patch1 ) {
267267 if ($ filter === $ patchFilter ) {
268268 return [$ patch1 ];
269269 }
270270 return [];
271- })
271+ })
272272 ->willReturn ([$ patchMock ]);
273273
274274 $ this ->aggregator ->expects ($ this ->once ())
@@ -303,7 +303,7 @@ public function testProcessReplacementException()
303303
304304 $ this ->optionalPool ->expects ($ this ->once ())
305305 ->method ('getList ' )
306- ->willReturnCallback (function ($ filter ) use ($ patchFilter , $ patch1 ) {
306+ ->willReturnCallback (function ($ filter ) use ($ patchFilter , $ patch1 ) {
307307 if ($ filter === $ patchFilter ) {
308308 return [$ patch1 ];
309309 }
@@ -317,7 +317,7 @@ public function testProcessReplacementException()
317317
318318 $ this ->optionalPool ->expects ($ this ->once ())
319319 ->method ('getReplacedBy ' )
320- ->willReturnCallback (function ($ patchId ) use ($ patchFilter , $ patch1 ) {
320+ ->willReturnCallback (function ($ patchId ) use ($ patchFilter , $ patch1 ) {
321321 if ($ patchId === $ patch1 ->getId ()) {
322322 return [$ patch1 ];
323323 }
0 commit comments