@@ -26,7 +26,7 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | public static function initBundledComposer(string $magentoRootDir) |
| 28 | 28 | { |
| 29 | - if (! self::$composer instanceof Composer) { |
|
| 29 | + if (!self::$composer instanceof Composer) { |
|
| 30 | 30 | $composerApplication = new Application(); |
| 31 | 31 | $composerApplication->setAutoExit(false); |
| 32 | 32 | |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | $storeCode = $input->getArgument('store'); |
| 33 | - $interaction = ! $input->getOption('no-interaction'); |
|
| 33 | + $interaction = !$input->getOption('no-interaction'); |
|
| 34 | 34 | |
| 35 | 35 | /** @var $questionHelper QuestionHelper */ |
| 36 | 36 | $questionHelper = $this->getHelper('question'); |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | $question |
| 48 | 48 | ); |
| 49 | 49 | |
| 50 | - if (! $shouldContinue) { |
|
| 50 | + if (!$shouldContinue) { |
|
| 51 | 51 | return self::INVALID; |
| 52 | 52 | } |
| 53 | 53 | } |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | $question |
| 84 | 84 | ); |
| 85 | 85 | |
| 86 | - if (! $shouldRemove) { |
|
| 86 | + if (!$shouldRemove) { |
|
| 87 | 87 | continue; |
| 88 | 88 | } |
| 89 | 89 | } |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | $moduleNames = []; |
| 84 | 84 | foreach ($finder as $file) { |
| 85 | 85 | $xml = simplexml_load_file($file); |
| 86 | - $schemaData = json_decode(json_encode((array)$xml), true); |
|
| 86 | + $schemaData = json_decode(json_encode((array) $xml), true); |
|
| 87 | 87 | if (!isset($schemaData['module']['@attributes']['name'])) { |
| 88 | 88 | continue; |
| 89 | 89 | } |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | continue; |
| 93 | 93 | } |
| 94 | 94 | if (stripos($moduleName, 'Magento_Test') !== false) { |
| 95 | - continue; // Skip test modules from magento |
|
| 95 | + continue; // Skip test modules from magento |
|
| 96 | 96 | } |
| 97 | 97 | if (in_array($moduleName, ['Magento_A', 'Magento_B', 'Magento_FirstModule'])) { |
| 98 | 98 | continue; |