@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function retrieveCommitedFiles() |
15 | 15 | { |
16 | - $output = []; |
|
16 | + $output = [ ]; |
|
17 | 17 | |
18 | 18 | exec('git diff --cached --name-only --diff-filter=ACMR', $output); |
19 | 19 |
@@ -25,7 +25,7 @@ |
||
25 | 25 | continue; |
26 | 26 | } |
27 | 27 | |
28 | - $lintOutput = []; |
|
28 | + $lintOutput = [ ]; |
|
29 | 29 | exec('php -l '.escapeshellarg($fileName), $lintOutput, $return); |
30 | 30 | } |
31 | 31 |
@@ -26,7 +26,7 @@ |
||
26 | 26 | continue; |
27 | 27 | } |
28 | 28 | |
29 | - $csOutput = []; |
|
29 | + $csOutput = [ ]; |
|
30 | 30 | exec(__DIR__.'/../../../../../vendor/bin/php-cs-fixer --using-cache=no fix '.escapeshellarg($fileName), $csOutput, $return); |
31 | 31 | exec("git add {$fileName}"); |
32 | 32 | } |