Test Failed
Push — main ( b17b64...c3c525 )
by Teodoro
02:57
created
src/Async.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,9 +56,9 @@
 block discarded – undo
56 56
     protected function listener(): void
57 57
     {
58 58
         pcntl_async_signals(true);
59
-        pcntl_signal(SIGCHLD, function ($signo, $status) {
59
+        pcntl_signal(SIGCHLD, function($signo, $status) {
60 60
             while (true) {
61
-                $pid = pcntl_waitpid(-1, $processState, WNOHANG | WUNTRACED);
61
+                $pid = pcntl_waitpid(-1, $processState, WNOHANG|WUNTRACED);
62 62
                 if ($pid <= 0) {
63 63
                     break;
64 64
                 }
Please login to merge, or discard this patch.
src/TaskFactory.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -41,11 +41,11 @@
 block discarded – undo
41 41
     protected function find(string $file): ?string
42 42
     {
43 43
         $paths = array_filter([
44
-            __DIR__ . '/../../../../'.$file,
45
-            __DIR__ . '/../../../'.$file,
46
-            __DIR__ . '/../../'.$file,
47
-            __DIR__ . '/../'.$file,
48
-        ], static function (string $path) {
44
+            __DIR__ . '/../../../../' . $file,
45
+            __DIR__ . '/../../../' . $file,
46
+            __DIR__ . '/../../' . $file,
47
+            __DIR__ . '/../' . $file,
48
+        ], static function(string $path) {
49 49
             return file_exists($path);
50 50
         });
51 51
         return reset($paths);
Please login to merge, or discard this patch.