@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | $modifiedModules[] = $processedModule; |
64 | 64 | } |
65 | 65 | |
66 | - $text = $isDryRun ? ' need(s) updating.': 'updated.'; |
|
66 | + $text = $isDryRun ? ' need(s) updating.' : 'updated.'; |
|
67 | 67 | $this->output->writeln(sprintf('%s of %s module(s) ' . $text, count($modifiedModules), count($processedModules))); |
68 | 68 | |
69 | 69 | if ($this->input->getOption(static::VERBOSE)) { |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | $this->output->writeln(sprintf('Please run `%s` locally without dry-run.', $command)); |
82 | 82 | } |
83 | 83 | |
84 | - return count($modifiedModules) < 1 ? static::CODE_SUCCESS : static::CODE_ERROR; |
|
84 | + return count($modifiedModules) < 1 ? static::CODE_SUCCESS : static::CODE_ERROR; |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | } |
@@ -169,7 +169,7 @@ |
||
169 | 169 | 'config', |
170 | 170 | ]; |
171 | 171 | |
172 | - $callable = function ($a, $b) use ($map) { |
|
172 | + $callable = function($a, $b) use ($map) { |
|
173 | 173 | $keyA = in_array($a, $map) ? array_search($a, $map) : 999; |
174 | 174 | $keyB = in_array($b, $map) ? array_search($b, $map) : 999; |
175 | 175 |
@@ -170,7 +170,7 @@ |
||
170 | 170 | */ |
171 | 171 | protected function getStorePrefixes(array $stores) |
172 | 172 | { |
173 | - array_walk($stores, function (&$store) { |
|
173 | + array_walk($stores, function(&$store) { |
|
174 | 174 | $store = mb_strtolower($store) . '_'; |
175 | 175 | }); |
176 | 176 |
@@ -366,7 +366,7 @@ |
||
366 | 366 | |
367 | 367 | $utilEncodingMock |
368 | 368 | ->method('decodeJson') |
369 | - ->willReturnCallback(function ($json, $assoc) { |
|
369 | + ->willReturnCallback(function($json, $assoc) { |
|
370 | 370 | return json_decode($json, $assoc); |
371 | 371 | }); |
372 | 372 |