Completed
Branch develop (eb6827)
by Tom
09:26 queued 03:38
created
src/N98/Magento/Command/MagentoConnect/AbstractConnectCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     /**
59 59
      * @param string $line
60 60
      *
61
-     * @return array
61
+     * @return string[]
62 62
      */
63 63
     protected function matchConnectLine($line)
64 64
     {
Please login to merge, or discard this patch.
src/N98/Util/Console/Helper/ParameterHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@
 block discarded – undo
196 196
      * @param OutputInterface                                $output
197 197
      * @param string                                         $name
198 198
      * @param string                                         $value
199
-     * @param Constraints\Collection|Constraint|Constraint[] $constraints The constraint(s) to validate against.
199
+     * @param Constraints\Collection $constraints The constraint(s) to validate against.
200 200
      *
201 201
      * @return mixed
202 202
      */
Please login to merge, or discard this patch.
src/N98/Magento/Command/Admin/User/UnlockCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@
 block discarded – undo
42 42
             if ($username = $input->getArgument('username')) {
43 43
                 $user = \Mage::getModel('admin/user')->loadByUsername($username);
44 44
                 if (!$user || !$user->getId()) {
45
-                     $output->writeln('<error>Couldn\'t find admin ' . $username . '</error>');
46
-                     return;
45
+                        $output->writeln('<error>Couldn\'t find admin ' . $username . '</error>');
46
+                        return;
47 47
                 }
48 48
                 \Mage::getResourceModel('enterprise_pci/admin_user')->unlock($user->getId());
49 49
                 $output->writeln('<info><comment>' . $username . '</comment> unlocked</info>');
Please login to merge, or discard this patch.
src/N98/Magento/Command/Installer/InstallCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
 
205 205
             if ($input->getOption('magentoVersion')) {
206 206
                 $type = $input->getOption('magentoVersion');
207
-                if ($type !== (string)(int)$type) {
207
+                if ($type !== (string) (int) $type) {
208 208
                     $type = $this->getPackageNumberByName($type);
209 209
                 }
210 210
             } elseif ($input->getOption('magentoVersionByName')) {
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
     private function getPackageNumberByName($name)
241 241
     {
242 242
         // directly filter integer strings
243
-        if ($name === (string)(int)$name) {
243
+        if ($name === (string) (int) $name) {
244 244
             return (int) $name;
245 245
         }
246 246
 
Please login to merge, or discard this patch.
src/N98/Magento/Command/MagentoConnect/ListExtensionsCommand.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,9 +58,9 @@
 block discarded – undo
58 58
                         );
59 59
                         if(isset($matches[4]) && isset($matches[5])) {
60 60
                             $table[] = array(
61
-                                 $matches[1],
62
-                                 $matches[4],
63
-                                 $matches[5],
61
+                                    $matches[1],
62
+                                    $matches[4],
63
+                                    $matches[5],
64 64
                             );
65 65
                         }
66 66
                         if(isset($matches[6]) && isset($matches[7])) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,14 +56,14 @@
 block discarded – undo
56 56
                             $matches[2],
57 57
                             $matches[3],
58 58
                         );
59
-                        if(isset($matches[4]) && isset($matches[5])) {
59
+                        if (isset($matches[4]) && isset($matches[5])) {
60 60
                             $table[] = array(
61 61
                                  $matches[1],
62 62
                                  $matches[4],
63 63
                                  $matches[5],
64 64
                             );
65 65
                         }
66
-                        if(isset($matches[6]) && isset($matches[7])) {
66
+                        if (isset($matches[6]) && isset($matches[7])) {
67 67
                             $table[] = array(
68 68
                                 $matches[1],
69 69
                                 $matches[6],
Please login to merge, or discard this patch.
build/phar/phar-timestamp.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,14 +23,14 @@
 block discarded – undo
23 23
 echo "Signature: ", $signature, " (from build.xml) \n";
24 24
 $const = strtoupper($signature);
25 25
 
26
-$sig  = constant("Phar::$const");
26
+$sig = constant("Phar::$const");
27 27
 echo "Phar Algo: ", var_export($sig, true), " (Phar::$const)\n";
28 28
 
29 29
 if (!is_file($file) || !is_readable($file)) {
30 30
     throw new RuntimeException(sprintf('Is not a file or not readable: %s', var_export($file, true)));
31 31
 }
32 32
 
33
-$timestamp = (int)`git log --format=format:%ct HEAD -1`;
33
+$timestamp = (int) `git log --format=format:%ct HEAD -1`;
34 34
 $threshold = 1343826993;
35 35
 if ($timestamp < $threshold) {
36 36
     $message = sprintf(
Please login to merge, or discard this patch.
src/N98/Magento/Command/System/Cron/AbstractCronCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
         /** @var $jobs AppendIterator */
24 24
         $jobs = array_reduce(
25
-            array('crontab/jobs', 'default/crontab/jobs'), function (AppendIterator $carry, $path) {
25
+            array('crontab/jobs', 'default/crontab/jobs'), function(AppendIterator $carry, $path) {
26 26
                 if ($jobConfig = Mage::getConfig()->getNode($path)) {
27 27
                     $carry->append(new \IteratorIterator($jobConfig->children()));
28 28
                 };
Please login to merge, or discard this patch.