Completed
Push — develop ( d34a3a...96078f )
by Tom
26:43 queued 17:21
created
src/N98/Magento/Command/System/Setup/AbstractSetupCommand.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,11 +3,7 @@
 block discarded – undo
3 3
 namespace N98\Magento\Command\System\Setup;
4 4
 
5 5
 use N98\Magento\Command\AbstractMagentoCommand;
6
-use Symfony\Component\Console\Input\InputArgument;
7 6
 use Symfony\Component\Console\Input\InputInterface;
8
-use Symfony\Component\Console\Input\InputOption;
9
-use Symfony\Component\Console\Output\OutputInterface;
10
-use N98\Util\Console\Helper\Table\Renderer\RendererFactory;
11 7
 
12 8
 /**
13 9
  * Class AbstractSetupCommand
Please login to merge, or discard this patch.
src/N98/Util/Console/Helper/DatabaseHelper.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use PDOException;
7 7
 use RuntimeException;
8 8
 use Symfony\Component\Console\Helper\Helper as AbstractHelper;
9
-use N98\Magento\Application;
10 9
 use Symfony\Component\Console\Output\NullOutput;
11 10
 use Symfony\Component\Console\Output\OutputInterface;
12 11
 
Please login to merge, or discard this patch.
src/N98/Util/Console/Helper/MagentoHelper.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace N98\Util\Console\Helper;
4 4
 
5 5
 use N98\Magento\Application;
6
-use N98\Util\BinaryString;
7 6
 use RuntimeException;
8 7
 use Symfony\Component\Console\Helper\Helper as AbstractHelper;
9 8
 use Symfony\Component\Console\Input\ArgvInput;
Please login to merge, or discard this patch.
src/N98/Util/Console/Helper/ParameterHelper.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Symfony\Component\Console\Helper\Helper as AbstractHelper;
10 10
 use Symfony\Component\Console\Output\OutputInterface;
11 11
 use Symfony\Component\Console\Input\InputInterface;
12
-use Symfony\Component\Console\Output\Output;
13 12
 use Symfony\Component\Translation\Translator;
14 13
 use Symfony\Component\Validator\Constraint;
15 14
 use Symfony\Component\Validator\Validator;
Please login to merge, or discard this patch.
tests/N98/Magento/Command/Database/Maintain/CheckTablesCommandTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace N98\Magento\Command\Database\Maintain;
4 4
 
5
-use Symfony\Component\Console\Output\NullOutput;
6
-use Symfony\Component\Console\Tester\ApplicationTester;
7 5
 use Symfony\Component\Console\Tester\CommandTester;
8 6
 use N98\Magento\Command\PHPUnit\TestCase;
9 7
 
Please login to merge, or discard this patch.
tests/N98/Util/Console/Helper/DatabaseHelperTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace N98\Util\Console\Helper;
4 4
 
5
-use Symfony\Component\Console\Tester\CommandTester;
6 5
 use N98\Magento\Command\PHPUnit\TestCase;
7 6
 
8 7
 
Please login to merge, or discard this patch.
src/N98/Magento/Application.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -407,7 +407,7 @@
 block discarded – undo
407 407
                     $this->initMagento();
408 408
                 } catch (\Exception $e) {
409 409
                     $message = 'Cannot initialize Magento. Please check your configuration. '
410
-                             . 'Some n98-magerun command will not work. Got message: ';
410
+                                . 'Some n98-magerun command will not work. Got message: ';
411 411
                     if (OutputInterface::VERBOSITY_VERY_VERBOSE <= $output->getVerbosity()) {
412 412
                         $message .= $e->getTraceAsString();
413 413
                     } else {
Please login to merge, or discard this patch.
src/N98/Magento/Command/AbstractMagentoStoreConfigCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -155,8 +155,8 @@
 block discarded – undo
155 155
         $this->getApplication()->run($input, new NullOutput());
156 156
 
157 157
         $comment = '<comment>' . $this->toggleComment . '</comment> '
158
-                 . '<info>' . (!$isFalse ? $this->falseName : $this->trueName) . '</info>'
159
-                 . ($runOnStoreView ? ' <comment>for store</comment> <info>' . $store->getCode() . '</info>' : '');
158
+                    . '<info>' . (!$isFalse ? $this->falseName : $this->trueName) . '</info>'
159
+                    . ($runOnStoreView ? ' <comment>for store</comment> <info>' . $store->getCode() . '</info>' : '');
160 160
         $output->writeln($comment);
161 161
 
162 162
         $this->_afterSave($store, $isFalse);
Please login to merge, or discard this patch.
src/N98/Magento/Command/Cache/ListCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
         }
83 83
 
84 84
         $this->getHelper('table')
85
-             ->setHeaders(array('Name', 'Type', 'Enabled'))
86
-             ->renderByFormat($output, $tableData, $input->getOption('format'));
85
+                ->setHeaders(array('Name', 'Type', 'Enabled'))
86
+                ->renderByFormat($output, $tableData, $input->getOption('format'));
87 87
     }
88 88
 }
Please login to merge, or discard this patch.