Completed
Branch develop (14e095)
by Tom
04:59
created
src/N98/Magento/Command/System/Cron/AbstractCronCommand.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     /**
56 56
      * Get job configuration from XML and database. Expression priority is given to the database.
57 57
      *
58
-     * @return Traversable|Mage_Core_Model_Config_Element[]
58
+     * @return AppendIterator
59 59
      */
60 60
     private function getJobConfigElements()
61 61
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         $expr = null;
41 41
 
42 42
         if (isset($job->schedule->config_path)) {
43
-            $expr = Mage::getStoreConfig((string) $job->schedule->config_path);
43
+            $expr = Mage::getStoreConfig((string)$job->schedule->config_path);
44 44
         } elseif (isset($job->schedule->cron_expr)) {
45 45
             $expr = $job->schedule->cron_expr;
46 46
         }
Please login to merge, or discard this patch.
src/N98/Util/VerifyOrDie.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * @param string $name
52 52
      * @param string $internalType
53
-     * @param mixed $subject
53
+     * @param string $subject
54 54
      */
55 55
     private static function argumentType($name, $internalType, $subject)
56 56
     {
@@ -63,6 +63,9 @@  discard block
 block discarded – undo
63 63
 
64 64
     }
65 65
 
66
+    /**
67
+     * @param string $message
68
+     */
66 69
     private static function violation($message)
67 70
     {
68 71
         throw new RuntimeException($message);
Please login to merge, or discard this 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
 
8 8
 namespace N98\Util;
9 9
 
Please login to merge, or discard this patch.
src/N98/Magento/Command/Developer/Setup/Script/AttributeCommand.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Ported attribute migration script from:
4
- *
5
- * https://github.com/astorm/Pulsestorm/blob/master/magento-create-setup.php
6
- * https://github.com/astorm/Pulsestorm/blob/2863201b19367d02483e01b1c03b54b979d87278/_trash/magento-create-setup.php
7
- *
8
- * It creates attribute script for existing attribute
9
- *
10
- * Originally created by Alan Storm
11
- *
12
- * @author Dusan Lukic <[email protected]>
13
- */
3
+     * Ported attribute migration script from:
4
+     *
5
+     * https://github.com/astorm/Pulsestorm/blob/master/magento-create-setup.php
6
+     * https://github.com/astorm/Pulsestorm/blob/2863201b19367d02483e01b1c03b54b979d87278/_trash/magento-create-setup.php
7
+     *
8
+     * It creates attribute script for existing attribute
9
+     *
10
+     * Originally created by Alan Storm
11
+     *
12
+     * @author Dusan Lukic <[email protected]>
13
+     */
14 14
 
15 15
 namespace N98\Magento\Command\Developer\Setup\Script;
16 16
 
Please login to merge, or discard this patch.
src/N98/Util/OperatingSystem.php 2 patches
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
 
8 8
 namespace N98\Util;
9 9
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      */
27 27
     public static function isLinux()
28 28
     {
29
-        return (bool) stristr(PHP_OS, 'linux');
29
+        return (bool)stristr(PHP_OS, 'linux');
30 30
     }
31 31
 
32 32
     /**
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      */
49 49
     public static function isNetware()
50 50
     {
51
-        return (bool) stristr(PHP_OS, 'netware');
51
+        return (bool)stristr(PHP_OS, 'netware');
52 52
     }
53 53
 
54 54
     /**
Please login to merge, or discard this patch.
src/N98/Util/WindowsSystem.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
 
8 8
 namespace N98\Util;
9 9
 
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
 
8 8
 namespace N98\Util;
9 9
 
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
 
8 8
 namespace N98\Util;
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
 
8 8
 namespace N98\Util;
9 9
 
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
 
8 8
 namespace N98\Util;
9 9
 
Please login to merge, or discard this patch.