Passed
Push — master ( 7a7cfe...9ace4b )
by Mark
35:26
created
Zed/Development/Communication/Console/ComposerJsonUpdaterConsole.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Spryker/Zed/Development/Business/Composer/ComposerJsonUpdater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Business/Model/Elasticsearch/Definition/JsonIndexDefinitionLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Business/Model/Elasticsearch/Definition/JsonIndexDefinitionLoaderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -366,7 +366,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.