Completed
Pull Request — develop (#797)
by Tom
04:45
created
src/N98/Magento/Command/Indexer/ReindexCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
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 {
Please login to merge, or discard this patch.
src/N98/Util/AutoloadRestorer.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
src/N98/Util/Console/Helper/Table/Renderer/TextRenderer.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/N98/Util/Console/Helper/Table/Renderer/XmlRenderer.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/N98/Util/Console/Helper/DatabaseHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -258,7 +258,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
src/N98/Util/Console/Helper/ParameterHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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());
Please login to merge, or discard this patch.
src/N98/Util/Console/Helper/IoHelper.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/N98/Util/Console/Enabler.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/N98/Util/OperatingSystem.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.