Completed
Push — master ( f026cc...79c996 )
by Kacper
03:27
created
Parser/Rules.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,9 @@
 block discarded – undo
107 107
     public function all()
108 108
     {
109 109
         $items = $this->getArrayCopy();
110
-        if(empty($items)) return [];
110
+        if(empty($items)) {
111
+            return [];
112
+        }
111 113
 
112 114
         return call_user_func_array('array_merge', $items);
113 115
     }
Please login to merge, or discard this patch.
Language/Perl.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
             'string.nowdoc'  => new Rule(
67 67
                 new RegexMatcher('/<<\s*\'(\w+)\';(?P<string>.*?)\n\1/sm', [
68 68
                     'string' => Token::NAME,
69
-                          0  => 'keyword.nowdoc'
69
+                            0  => 'keyword.nowdoc'
70 70
                 ]), ['context' => ['!comment']]
71 71
             ),
72 72
 
Please login to merge, or discard this patch.
Parser/Token/Token.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
         return $this->_end === null;
86 86
     }
87 87
 
88
-     public function isValid(Context $context)
88
+        public function isValid(Context $context)
89 89
     {
90 90
         if ($this->_valid === null) {
91 91
             $this->validate($context);
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@
 block discarded – undo
226 226
             }
227 227
         } elseif (($rule = Helper::cmp($b->rule->priority, $a->rule->priority)) !== 0) {
228 228
             return $multiplier*$rule;
229
-        }  else {
229
+        } else {
230 230
             return $multiplier*($a->id < $b->id ? -1 : 1);
231 231
         }
232 232
     }
Please login to merge, or discard this patch.