We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | |
73 | 73 | $process = new Process($command, null, null, null, 300, null); |
74 | 74 | |
75 | - $process->run(function ($type, $buffer) { |
|
75 | + $process->run(function($type, $buffer) { |
|
76 | 76 | if (Process::ERR === $type) { |
77 | 77 | $this->line($buffer); |
78 | 78 | } else { |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | }); |
82 | 82 | |
83 | 83 | // executes after the command finishes |
84 | - if (! $process->isSuccessful()) { |
|
84 | + if (!$process->isSuccessful()) { |
|
85 | 85 | throw new ProcessFailedException($process); |
86 | 86 | } |
87 | 87 | |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | |
101 | 101 | // otherwise, in case the last line HAS been modified |
102 | 102 | // return the last line that has an ending in it |
103 | - $possible_end_lines = array_filter($file_lines, function ($k) { |
|
103 | + $possible_end_lines = array_filter($file_lines, function($k) { |
|
104 | 104 | return strpos($k, '});') === 0; |
105 | 105 | }); |
106 | 106 | |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | */ |
122 | 122 | private function getLastLineNumberThatContains($needle, $haystack) |
123 | 123 | { |
124 | - $matchingLines = array_filter($haystack, function ($k) use ($needle) { |
|
124 | + $matchingLines = array_filter($haystack, function($k) use ($needle) { |
|
125 | 125 | return strpos($k, $needle) !== false; |
126 | 126 | }); |
127 | 127 |
@@ -71,7 +71,7 @@ |
||
71 | 71 | */ |
72 | 72 | private function getLastLineNumberThatContains($needle, $haystack) |
73 | 73 | { |
74 | - $matchingLines = array_filter($haystack, function ($k) use ($needle) { |
|
74 | + $matchingLines = array_filter($haystack, function($k) use ($needle) { |
|
75 | 75 | return strpos($k, $needle) !== false; |
76 | 76 | }); |
77 | 77 |