Test Failed
Push — master ( f97b0a...758f0b )
by stéphane
02:39
created
sources/DumperHandlers.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,8 +87,8 @@
 block discarded – undo
87 87
     private function dumpYamlObject(YamlObject $obj):string
88 88
     {
89 89
         if ($this->multipleDocs || $obj->hasDocStart() || $obj->isTagged() || $obj->isScalar()) {
90
-           $this->multipleDocs = true;
91
-          // && $this->$result instanceof DLL) $this->$result->push("---");
90
+            $this->multipleDocs = true;
91
+            // && $this->$result instanceof DLL) $this->$result->push("---");
92 92
         }
93 93
         if (count($obj) > 0) {
94 94
             return $this->iteratorToString($obj, '-', 0);
Please login to merge, or discard this patch.
sources/nodes/Comment.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -10,17 +10,17 @@
 block discarded – undo
10 10
  */
11 11
 class Comment extends NodeGeneric
12 12
 {
13
-   public function specialProcess(NodeGeneric &$previous, array &$emptyLines):bool
14
-   {
13
+    public function specialProcess(NodeGeneric &$previous, array &$emptyLines):bool
14
+    {
15 15
         $previous->getRoot()->add($this);
16 16
         return true;
17
-   }
17
+    }
18 18
 
19
-   public function build(&$parent = null)
20
-   {
19
+    public function build(&$parent = null)
20
+    {
21 21
         $root = $this->getRoot();
22 22
         $yamlObject = $root->getYamlObject();
23 23
         $yamlObject->addComment($this->line, $this->raw);
24 24
         return null;
25
-   }
25
+    }
26 26
 }
27 27
\ No newline at end of file
Please login to merge, or discard this patch.
sources/nodes/abstract/NodeGeneric.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
         return false;
154 154
     }
155 155
 
156
-   /**
156
+    /**
157 157
      * Find parent target when current Node indentation is lesser than previous node indentation
158 158
      *
159 159
      * @param NodeGeneric $node
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
         return $this->getParent();
190 190
     }
191 191
 
192
-   /**
192
+    /**
193 193
      * Find parent target when current Node indentation is superior than previous node indentation
194 194
      *
195 195
      * @param NodeGeneric $node
Please login to merge, or discard this patch.
sources/nodes/Literal.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         $result = '';
18 18
         $list = $list->filterComment();
19 19
         if ($this->identifier !== '+') {
20
-             self::litteralStripTrailing($list);
20
+                self::litteralStripTrailing($list);
21 21
         }
22 22
         if ($list->count()) {
23 23
             $list->setIteratorMode(NodeList::IT_MODE_DELETE);
Please login to merge, or discard this patch.
sources/nodes/Key.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     public function setIdentifier(string $keyString)
36 36
     {
37 37
         if ($keyString === '') {
38
-           throw new \ParseError(sprintf(self::ERROR_NO_KEYNAME, $this->line));
38
+            throw new \ParseError(sprintf(self::ERROR_NO_KEYNAME, $this->line));
39 39
         } else {
40 40
             $keyNode = NodeFactory::get($keyString);
41 41
             if ($keyNode instanceof Tag || $keyNode instanceof Quoted) {
Please login to merge, or discard this patch.
sources/tag/LocalNamespace.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -21,12 +21,12 @@
 block discarded – undo
21 21
 class LocalNamespace implements NamespaceInterface
22 22
 {
23 23
     public const LEGACY_TAGS_HANDLERS = ['!!str'       => 'strHandler',
24
-                                          '!!binary'    => 'binaryHandler',
25
-                                          '!set'        => 'setHandler',
26
-                                          '!!omap'      => 'omapHandler',
27
-                                          '!php/object' => 'symfonyPHPobjectHandler',
28
-                                          '!inline'     => 'inlineHandler',
29
-                                      ];
24
+                                            '!!binary'    => 'binaryHandler',
25
+                                            '!set'        => 'setHandler',
26
+                                            '!!omap'      => 'omapHandler',
27
+                                            '!php/object' => 'symfonyPHPobjectHandler',
28
+                                            '!inline'     => 'inlineHandler',
29
+                                        ];
30 30
 
31 31
 
32 32
     /**
Please login to merge, or discard this patch.