Test Failed
Push — master ( 44c6e4...f07b2d )
by stéphane
03:54 queued 11s
created
yaml/Node.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -181,9 +181,9 @@
 block discarded – undo
181 181
             $this->value = $nodeValue;
182 182
             return;
183 183
         } elseif (in_array($first, ['{', '['])) {
184
-             $this->onCompact(trim($nodeValue));
185
-             return;
186
-         } elseif (in_array($first, ['!', '&', '*'])) {
184
+                $this->onCompact(trim($nodeValue));
185
+                return;
186
+            } elseif (in_array($first, ['!', '&', '*'])) {
187 187
             $this->onNodeAction($nodeValue);
188 188
             return;
189 189
         } elseif(in_array($first, ['?', ':'])) {// Note : php don't like '?' as an array key -_-'
Please login to merge, or discard this patch.
yaml/Node2PHP.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         if ($n->type & (Y::REF_CALL|Y::SCALAR)) return self::getScalar((string) $n->value);
28 28
         if ($n->type & Y::JSON) return $n->value;
29 29
         $expected = [Y::QUOTED => trim((string) $n->value, "\"'"),
30
-                     Y::RAW    => strval((string) $n->value)];
30
+                        Y::RAW    => strval((string) $n->value)];
31 31
         return $expected[$n->type] ?? null;
32 32
     }
33 33
 
Please login to merge, or discard this patch.