Passed
Push — master ( 3b6a73...d590ba )
by stéphane
02:55
created
sources/Loader.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,8 +125,12 @@
 block discarded – undo
125 125
         try {
126 126
             foreach ($generator as $lineNb => $lineString) {
127 127
                 $node = NodeFactory::get($lineString, $lineNb);
128
-                if ($this->_debug === 1) echo get_class($node)."\n";
129
-                if ($this->needsSpecialProcess($node, $previous)) continue;
128
+                if ($this->_debug === 1) {
129
+                    echo get_class($node)."\n";
130
+                }
131
+                if ($this->needsSpecialProcess($node, $previous)) {
132
+                    continue;
133
+                }
130 134
                 $this->attachBlankLines($previous);
131 135
                 switch ($node->indent <=> $previous->indent) {
132 136
                     case -1: $target = $previous->getTargetOnLessIndent($node);
Please login to merge, or discard this patch.
sources/nodes/NodeKey.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     public function setIdentifier(string $keyString)
34 34
     {
35 35
         if ($keyString === '') {
36
-           throw new \ParseError(sprintf(self::ERROR_NO_KEYNAME, $this->line));
36
+            throw new \ParseError(sprintf(self::ERROR_NO_KEYNAME, $this->line));
37 37
         } else {
38 38
             $keyNode = NodeFactory::get($keyString);
39 39
             if ($keyNode instanceof NodeTag || $keyNode instanceof NodeQuoted) {
Please login to merge, or discard this patch.