Completed
Push — master ( 342afe...5709d6 )
by Sebastian
08:18
created
src/Command/Executable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,8 +71,8 @@
 block discarded – undo
71 71
     public function getCommand(): string
72 72
     {
73 73
         return $this->cmd
74
-        . (count($this->options)   ? ' ' . implode(' ', $this->options)   : '')
75
-        . ($this->isSilent         ? ' 2> /dev/null'                      : '');
74
+        . (count($this->options) ? ' ' . implode(' ', $this->options) : '')
75
+        . ($this->isSilent ? ' 2> /dev/null' : '');
76 76
     }
77 77
 
78 78
     /**
Please login to merge, or discard this patch.
src/Util.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,20 +53,20 @@
 block discarded – undo
53 53
     public static function detectCmdLocation(string $cmd, string $path = '', array $optionalLocations = []): string
54 54
     {
55 55
         $detectionSteps = [
56
-            function ($cmd) use ($path) {
56
+            function($cmd) use ($path) {
57 57
                 if (!empty($path)) {
58 58
                     return self::detectCmdLocationInPath($cmd, $path);
59 59
                 }
60 60
                 return '';
61 61
             },
62
-            function ($cmd) {
62
+            function($cmd) {
63 63
                 return self::detectCmdLocationWithWhich($cmd);
64 64
             },
65
-            function ($cmd) {
65
+            function($cmd) {
66 66
                 $paths = explode(PATH_SEPARATOR, self::getEnvPath());
67 67
                 return self::detectCmdLocationInPaths($cmd, $paths);
68 68
             },
69
-            function ($cmd) use ($optionalLocations) {
69
+            function($cmd) use ($optionalLocations) {
70 70
                 return self::detectCmdLocationInPaths($cmd, $optionalLocations);
71 71
             }
72 72
         ];
Please login to merge, or discard this patch.
src/Processor/ProcOpen.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
             $stdErr .= stream_get_contents($pipes[2]);
57 57
         } while ($status && $status['running']);
58 58
 
59
-        $code   = $status['exitcode'] ?? -1;
59
+        $code = $status['exitcode'] ?? -1;
60 60
 
61 61
         // make sure all pipes are closed before calling proc_close
62 62
         foreach ($pipes as $index => $pipe) {
Please login to merge, or discard this patch.