@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | list(, $installLocation) = explode('=', $workingDir); |
| 148 | 148 | $installLocation = str_replace("'", '', $installLocation); |
| 149 | 149 | $composerJson = "$installLocation/composer.json"; |
| 150 | - $composerContents = (array)json_decode(file_get_contents($composerJson)); |
|
| 150 | + $composerContents = (array) json_decode(file_get_contents($composerJson)); |
|
| 151 | 151 | if (empty($composerContents->require)) { |
| 152 | 152 | $remove = new CommandToExec('', ''); |
| 153 | 153 | return $remove->runCommand("rm -rf $installLocation"); |
@@ -480,7 +480,7 @@ discard block |
||
| 480 | 480 | */ |
| 481 | 481 | public function flipProjectsArray($projects) |
| 482 | 482 | { |
| 483 | - return array_map(function () { |
|
| 483 | + return array_map(function() { |
|
| 484 | 484 | return ''; |
| 485 | 485 | }, array_flip($projects)); |
| 486 | 486 | } |