Passed
Push — feature/php-8.5 ( 100e51...0b2a83 )
by Sebastian
08:55 queued 05:05
created
tests/unit/Plugin/Hook/PreserveWorkingTreeTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
         $this->statusOperator
202 202
             ->expects($this->once())
203 203
             ->method('restoreWorkingTree')
204
-            ->willReturnCallback(function (): bool {
204
+            ->willReturnCallback(function(): bool {
205 205
                 if (getenv(PreserveWorkingTree::SKIP_POST_CHECKOUT_VAR) != '1') {
206 206
                     $this->fail(PreserveWorkingTree::SKIP_POST_CHECKOUT_VAR . ' did not have the correct value');
207 207
                 }
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
         $this->diffOperator
212 212
             ->expects($this->once())
213 213
             ->method('applyPatches')
214
-            ->with($this->callback(function ($value) use ($patchFileConstraint): bool {
214
+            ->with($this->callback(function($value) use ($patchFileConstraint): bool {
215 215
                 $result = true;
216 216
                 foreach ($value as $item) {
217 217
                     $result = $result && $patchFileConstraint->evaluate($item, '', true);
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
         $this->diffOperator
267 267
             ->expects($this->exactly(3))
268 268
             ->method('applyPatches')
269
-            ->with($this->callback(function ($value) use ($patchFileConstraint): bool {
269
+            ->with($this->callback(function($value) use ($patchFileConstraint): bool {
270 270
                 $result = true;
271 271
                 foreach ($value as $item) {
272 272
                     $result = $result && $patchFileConstraint->evaluate($item, '', true);
Please login to merge, or discard this patch.