Passed
Push — main ( 7d351e...d05000 )
by Michiel
07:03
created
tests/Phing/Test/Task/Ext/Git/GitArchiveTaskTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 {
33 33
     public function setUp(): void
34 34
     {
35
-        if (! class_exists('VersionControl_Git')) {
35
+        if (!class_exists('VersionControl_Git')) {
36 36
             $this->markTestSkipped('The Git tasks depend on the pear/versioncontrol_git package being installed.');
37 37
         }
38 38
         // set temp directory used by test cases
Please login to merge, or discard this patch.
tests/Phing/Test/Task/Optional/WikiPublishTaskTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,8 +89,8 @@
 block discarded – undo
89 89
 
90 90
         $task->expects($this->exactly(count($callParams)))
91 91
             ->method('callApi')
92
-            ->willReturnCallback(function (string $action, array|null $args) use ($callParams, $returnResults): array {
93
-                $index = $this->array_find_key($callParams, function (array $value) use ($action, $args): bool {
92
+            ->willReturnCallback(function(string $action, array | null $args) use ($callParams, $returnResults): array {
93
+                $index = $this->array_find_key($callParams, function(array $value) use ($action, $args): bool {
94 94
                     return $value[0] === $action && ($value[1] ?? null) === $args;
95 95
                 });
96 96
                 if (isset($callParams[$index])) {
Please login to merge, or discard this patch.