@@ -61,7 +61,7 @@ |
||
| 61 | 61 | |
| 62 | 62 | /** @var DialogHelper $dialog */ |
| 63 | 63 | $dialog = $this->getHelper('dialog'); |
| 64 | - $indexCodes = $dialog->askAndValidate($output, $question, function ($typeInput) use ($indexerList) { |
|
| 64 | + $indexCodes = $dialog->askAndValidate($output, $question, function($typeInput) use ($indexerList) { |
|
| 65 | 65 | if (strstr($typeInput, ',')) { |
| 66 | 66 | $typeInputs = \N98\Util\BinaryString::trimExplodeEmpty(',', $typeInput); |
| 67 | 67 | } else { |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * this file is part of magerun |
|
| 4 | - * |
|
| 5 | - * @author Tom Klingenberg <https://github.com/ktomk> |
|
| 6 | - */ |
|
| 3 | + * this file is part of magerun |
|
| 4 | + * |
|
| 5 | + * @author Tom Klingenberg <https://github.com/ktomk> |
|
| 6 | + */ |
|
| 7 | 7 | namespace N98\Util; |
| 8 | 8 | |
| 9 | 9 | /** |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * this file is part of magerun |
|
| 4 | - * |
|
| 5 | - * @author Tom Klingenberg <https://github.com/ktomk> |
|
| 6 | - */ |
|
| 3 | + * this file is part of magerun |
|
| 4 | + * |
|
| 5 | + * @author Tom Klingenberg <https://github.com/ktomk> |
|
| 6 | + */ |
|
| 7 | 7 | namespace N98\Util\Console\Helper\Table\Renderer; |
| 8 | 8 | |
| 9 | 9 | use Symfony\Component\Console\Helper\Table; |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * this file is part of magerun |
|
| 4 | - * |
|
| 5 | - * @author Tom Klingenberg <https://github.com/ktomk> |
|
| 6 | - */ |
|
| 3 | + * this file is part of magerun |
|
| 4 | + * |
|
| 5 | + * @author Tom Klingenberg <https://github.com/ktomk> |
|
| 6 | + */ |
|
| 7 | 7 | namespace N98\Util\Console\Helper\Table\Renderer; |
| 8 | 8 | |
| 9 | 9 | use DOMDocument; |
@@ -258,7 +258,7 @@ |
||
| 258 | 258 | $definitions, |
| 259 | 259 | $resolved |
| 260 | 260 | ); |
| 261 | - $resolvedList = array_merge($resolvedList, $tables); |
|
| 261 | + $resolvedList = array_merge($resolvedList, $tables); |
|
| 262 | 262 | } |
| 263 | 263 | continue; |
| 264 | 264 | } |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | $storeId = $this->askAndValidate( |
| 84 | 84 | $output, |
| 85 | 85 | $question, |
| 86 | - function ($typeInput) use ($stores) { |
|
| 86 | + function($typeInput) use ($stores) { |
|
| 87 | 87 | if (!isset($stores[$typeInput - 1])) { |
| 88 | 88 | throw new InvalidArgumentException('Invalid store'); |
| 89 | 89 | } |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | $websiteId = $this->askAndValidate( |
| 141 | 141 | $output, |
| 142 | 142 | $question, |
| 143 | - function ($typeInput) use ($websites) { |
|
| 143 | + function($typeInput) use ($websites) { |
|
| 144 | 144 | if (!isset($websites[$typeInput - 1])) { |
| 145 | 145 | throw new InvalidArgumentException('Invalid store'); |
| 146 | 146 | } |
@@ -250,7 +250,7 @@ discard block |
||
| 250 | 250 | $value = $this->askAndValidate( |
| 251 | 251 | $output, |
| 252 | 252 | $question, |
| 253 | - function ($inputValue) use ($constraints, $name) { |
|
| 253 | + function($inputValue) use ($constraints, $name) { |
|
| 254 | 254 | $errors = $this->validateValue($name, $inputValue, $constraints); |
| 255 | 255 | if ($errors->count() > 0) { |
| 256 | 256 | throw new InvalidArgumentException($errors[0]->getMessage()); |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * this file is part of magerun |
|
| 4 | - * |
|
| 5 | - * @author Tom Klingenberg <https://github.com/ktomk> |
|
| 6 | - */ |
|
| 3 | + * this file is part of magerun |
|
| 4 | + * |
|
| 5 | + * @author Tom Klingenberg <https://github.com/ktomk> |
|
| 6 | + */ |
|
| 7 | 7 | namespace N98\Util\Console\Helper; |
| 8 | 8 | |
| 9 | 9 | use Symfony\Component\Console\ConsoleEvents; |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * this file is part of magerun |
|
| 4 | - * |
|
| 5 | - * @author Tom Klingenberg <https://github.com/ktomk> |
|
| 6 | - */ |
|
| 3 | + * this file is part of magerun |
|
| 4 | + * |
|
| 5 | + * @author Tom Klingenberg <https://github.com/ktomk> |
|
| 6 | + */ |
|
| 7 | 7 | namespace N98\Util\Console; |
| 8 | 8 | |
| 9 | 9 | use N98\Util\OperatingSystem; |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * this file is part of magerun |
|
| 4 | - * |
|
| 5 | - * @author Tom Klingenberg <https://github.com/ktomk> |
|
| 6 | - */ |
|
| 3 | + * this file is part of magerun |
|
| 4 | + * |
|
| 5 | + * @author Tom Klingenberg <https://github.com/ktomk> |
|
| 6 | + */ |
|
| 7 | 7 | namespace N98\Util; |
| 8 | 8 | |
| 9 | 9 | /** |