Completed
Push — develop ( 9a96eb...ec6961 )
by Christian
02:45
created
src/N98/Magento/Application/ApplicationAwareInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -8,5 +8,10 @@
 block discarded – undo
8 8
  */
9 9
 interface ApplicationAwareInterface
10 10
 {
11
+    /**
12
+     * @param  $application
13
+     *
14
+     * @return void
15
+     */
11 16
     public function setApplication($application);
12 17
 }
Please login to merge, or discard this patch.
src/N98/Magento/Application/Console/EventSubscriber/CheckCompatibility.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use N98\Magento\Application;
6 6
 use N98\Magento\Application\ApplicationAwareInterface;
7
-use N98\Magento\Application\Console\Event;
8 7
 use N98\Magento\Application\Console\Events;
9 8
 use Symfony\Component\Console\Event\ConsoleEvent;
10 9
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
Please login to merge, or discard this patch.
src/N98/Magento/Command/ScriptCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@
 block discarded – undo
206 206
     /**
207 207
      * @param InputInterface $input
208 208
      * @param OutputInterface $output
209
-     * @param $commandString
209
+     * @param string $commandString
210 210
      * @return mixed
211 211
      */
212 212
     protected function registerVariable(InputInterface $input, OutputInterface $output, $commandString)
Please login to merge, or discard this patch.
src/N98/Util/Console/Helper/ParameterHelper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -222,9 +222,9 @@
 block discarded – undo
222 222
     /**
223 223
      * @param InputInterface $input
224 224
      * @param OutputInterface $output
225
-     * @param $name
225
+     * @param string $name
226 226
      * @param $value
227
-     * @param $constraints
227
+     * @param Constraints\Collection $constraints
228 228
      * @return mixed
229 229
      */
230 230
     protected function _validateArgument(InputInterface $input, OutputInterface $output, $name, $value, $constraints)
Please login to merge, or discard this patch.
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/Util/ArrayFunctions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     /**
43 43
      * @param array $matrix
44 44
      * @param string $key key to filter
45
-     * @param mixed $value to compare against (strict comparison)
45
+     * @param string $value to compare against (strict comparison)
46 46
      * @return array
47 47
      */
48 48
     public static function matrixFilterByValue(array $matrix, $key, $value)
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.