Passed
Push — dependabot/composer/squizlabs/... ( b776f7...9987b7 )
by
unknown
25:24 queued 32s
created
tests/Phing/Test/Task/Optional/WikiPublishTaskTest.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
             ->method('callApi')
64 64
             ->willReturnCallback(function (string $action, array|null $args) use ($callParams, $returnResults): array {
65 65
                 $index = array_find_key($callParams, function (array $value) use ($action, $args): bool {
66
-                   return $value[0] === $action && ($value[1] ?? null) === $args;
66
+                    return $value[0] === $action && ($value[1] ?? null) === $args;
67 67
                 });
68 68
                 if (isset($callParams[$index])) {
69 69
                     $this->assertSame($callParams[$index][1] ?? null, $args);
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,8 @@
 block discarded – undo
61 61
 
62 62
         $task->expects($this->exactly(count($callParams)))
63 63
             ->method('callApi')
64
-            ->willReturnCallback(function (string $action, array|null $args) use ($callParams, $returnResults): array {
65
-                $index = array_find_key($callParams, function (array $value) use ($action, $args): bool {
64
+            ->willReturnCallback(function(string $action, array | null $args) use ($callParams, $returnResults): array {
65
+                $index = array_find_key($callParams, function(array $value) use ($action, $args): bool {
66 66
                    return $value[0] === $action && ($value[1] ?? null) === $args;
67 67
                 });
68 68
                 if (isset($callParams[$index])) {
Please login to merge, or discard this patch.