Completed
Push — master ( 0c8d1b...0c71fb )
by Tom
06:41 queued 02:14
created
src/N98/Util/VerifyOrDie.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
 namespace N98\Util;
8 8
 
9 9
 /**
Please login to merge, or discard this patch.
src/N98/Util/AutoloadRestorer.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
 namespace N98\Util;
8 8
 
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
 namespace N98\Util;
8 8
 
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
 namespace N98\Util;
8 8
 
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
 namespace N98\Util;
8 8
 
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
 namespace N98\Util;
8 8
 
9 9
 /**
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
 namespace N98\Util;
8 8
 
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/Magento/Command/Media/DumpCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
             $finder->exclude($commandConfig['strip']['folders']);
44 44
         }
45 45
 
46
-        $filename = (string) $input->getArgument('filename');
46
+        $filename = (string)$input->getArgument('filename');
47 47
         if (is_dir($filename)) { // support for dot dir
48 48
             $filename = realpath($filename);
49 49
             $filename .= '/';
Please login to merge, or discard this patch.
src/N98/Magento/Command/Config/SearchCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
                             str_ireplace(
51 51
                                 $searchString,
52 52
                                 '<info>' . $searchString . '</info>',
53
-                                (string) $match->node->comment
53
+                                (string)$match->node->comment
54 54
                             )
55 55
                         );
56 56
                     }
@@ -117,14 +117,14 @@  discard block
 block discarded – undo
117 117
     {
118 118
         $match = new \stdClass;
119 119
         $match->type = $this->_getNodeType($node);
120
-        if (stristr((string) $node->label, $searchString)) {
120
+        if (stristr((string)$node->label, $searchString)) {
121 121
             $match->match_type = 'label';
122 122
             $match->node = $node;
123 123
 
124 124
             return $match;
125 125
         }
126 126
 
127
-        if (stristr((string) $node->comment, $searchString)) {
127
+        if (stristr((string)$node->comment, $searchString)) {
128 128
             $match->match_type = 'comment';
129 129
             $match->node = $node;
130 130
 
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
     {
207 207
         switch ($match->type) {
208 208
             case 'section':
209
-                return (string) $match->node->label . ' -> ... -> ...';
209
+                return (string)$match->node->label . ' -> ... -> ...';
210 210
 
211 211
             case 'field':
212 212
                 $parent = current($match->node->xpath('parent::*'));
Please login to merge, or discard this patch.