Completed
Push — develop ( a13b0a...892cb7 )
by Christian
40s
created
tests/N98/Magento/Command/Customer/CreateCommandTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,8 @@
 block discarded – undo
62 62
         // We mock the DialogHelper
63 63
         $dialog = $this->createMock('N98\Util\Console\Helper\ParameterHelper', ['askPassword']);
64 64
         $dialog->expects($this->at(0))
65
-               ->method('askPassword')
66
-               ->willReturn(true); // The user confirms
65
+                ->method('askPassword')
66
+                ->willReturn(true); // The user confirms
67 67
 
68 68
         // We override the standard helper with our mock
69 69
         $command->getHelperSet()->set($dialog, 'parameter');
Please login to merge, or discard this patch.
src/N98/Magento/Command/System/CheckCommand.php 1 patch
Switch Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -118,22 +118,22 @@
 block discarded – undo
118 118
             $areaCode,
119 119
             function () use ($check, $results, $checkGroupClass) {
120 120
                 switch (true) {
121
-                case $check instanceof Check\SimpleCheck:
122
-                    $check->check($results);
123
-                    break;
124
-
125
-                case $check instanceof Check\StoreCheck:
126
-                    $this->checkStores($results, $checkGroupClass, $check);
127
-                    break;
128
-
129
-                case $check instanceof Check\WebsiteCheck:
130
-                    $this->checkWebsites($results, $checkGroupClass, $check);
131
-                    break;
132
-
133
-                default:
134
-                    throw new LogicException(
135
-                        sprintf('Unhandled check-class "%s"', $checkGroupClass)
136
-                    );
121
+                    case $check instanceof Check\SimpleCheck:
122
+                        $check->check($results);
123
+                        break;
124
+
125
+                    case $check instanceof Check\StoreCheck:
126
+                        $this->checkStores($results, $checkGroupClass, $check);
127
+                        break;
128
+
129
+                    case $check instanceof Check\WebsiteCheck:
130
+                        $this->checkWebsites($results, $checkGroupClass, $check);
131
+                        break;
132
+
133
+                    default:
134
+                        throw new LogicException(
135
+                            sprintf('Unhandled check-class "%s"', $checkGroupClass)
136
+                        );
137 137
             }
138 138
             }
139 139
         );
Please login to merge, or discard this patch.
src/N98/Magento/Command/Installer/SubCommand/InstallMagento.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -297,7 +297,7 @@
 block discarded – undo
297 297
         $dbHost = $this->config->getString('db_host');
298 298
 
299 299
         if ($this->config->getInt('db_port') !== 3306) {
300
-            $dbHost .= ':' . (string)$this->config->getInt('db_port');
300
+            $dbHost .= ':' . (string) $this->config->getInt('db_port');
301 301
 
302 302
             return $dbHost;
303 303
         }
Please login to merge, or discard this patch.
src/N98/Magento/Command/Integration/CreateCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
             ->addOption('consumer-secret', '', InputOption::VALUE_REQUIRED, 'Consumer Secret (length 32 chars)')
70 70
             ->addOption('access-token', '', InputOption::VALUE_REQUIRED, 'Access-Token (length 32 chars)')
71 71
             ->addOption('access-token-secret', '', InputOption::VALUE_REQUIRED, 'Access-Token Secret (length 32 chars)')
72
-            ->addOption('resource', 'r', InputOption::VALUE_IS_ARRAY|InputOption::VALUE_REQUIRED, 'Defines a granted ACL resource', [])
72
+            ->addOption('resource', 'r', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'Defines a granted ACL resource', [])
73 73
             ->setDescription('Create a new integration');
74 74
 
75 75
         $help = <<<HELP
Please login to merge, or discard this patch.
src/N98/Magento/Command/Config/Env/ShowCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 
83 83
             $output->writeln($flattenArray[$keyToShow]);
84 84
         } else {
85
-            $table =[];
85
+            $table = [];
86 86
 
87 87
             foreach ($flattenArray as $configKey => $configValue) {
88 88
                 $table[] = [
Please login to merge, or discard this patch.
src/N98/Magento/Command/Config/Env/EnvHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      * @param string $indent
14 14
      * @return string|null
15 15
      */
16
-    public static function exportVariable($var, $indent='')
16
+    public static function exportVariable($var, $indent = '')
17 17
     {
18 18
         switch (gettype($var)) {
19 19
             case 'string':
Please login to merge, or discard this patch.
src/N98/Magento/Command/Database/AddDefaultAuthorizationRoles.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         $this->detectDbSettings($output);
32 32
 
33 33
         $dbHelper = $this->getDatabaseHelper();
34
-        $connection =  $dbHelper->getConnection($output);
34
+        $connection = $dbHelper->getConnection($output);
35 35
 
36 36
         $roleTableName = $dbHelper->getTableName('authorization_role');
37 37
         $ruleTableName = $dbHelper->getTableName('authorization_rule');
Please login to merge, or discard this patch.