Passed
Push — master ( 9bf5f8...0872bb )
by stéphane
02:09
created
sources/Loader.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -15,10 +15,10 @@  discard block
 block discarded – undo
15 15
     //public
16 16
     /* @var null|string */
17 17
     public static $error;
18
-    public const IGNORE_DIRECTIVES     = 1;//DONT include_directive
19
-    public const IGNORE_COMMENTS       = 2;//DONT include_comments
20
-    public const NO_PARSING_EXCEPTIONS = 4;//DONT throw Exception on parsing errors
21
-    public const NO_OBJECT_FOR_DATE    = 8;//DONT import date strings as dateTime Object
18
+    public const IGNORE_DIRECTIVES     = 1; //DONT include_directive
19
+    public const IGNORE_COMMENTS       = 2; //DONT include_comments
20
+    public const NO_PARSING_EXCEPTIONS = 4; //DONT throw Exception on parsing errors
21
+    public const NO_OBJECT_FOR_DATE    = 8; //DONT import date strings as dateTime Object
22 22
 
23 23
     //private
24 24
     /* @var null|false|array */
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
                 $previous = $target->add($node);
130 130
             }
131 131
             $this->attachBlankLines($previous);
132
-            if ($this->_debug === 1){
132
+            if ($this->_debug === 1) {
133 133
                 return;
134 134
             }
135 135
             return Builder::buildContent($root, $this->_debug);
@@ -170,8 +170,8 @@  discard block
 block discarded – undo
170 170
     {
171 171
         $deepest = $previous->getDeepestNode();
172 172
         if ($deepest instanceof NodePartial) {
173
-            return $deepest->specialProcess($current,  $this->_blankBuffer);
174
-        } elseif(!($current instanceof NodePartial)) {
173
+            return $deepest->specialProcess($current, $this->_blankBuffer);
174
+        } elseif (!($current instanceof NodePartial)) {
175 175
             return $current->specialProcess($previous, $this->_blankBuffer);
176 176
         }
177 177
         return false;
Please login to merge, or discard this patch.
sources/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
                     $buffer->push($child);
46 46
                 }
47 47
             }
48
-            $documents[] = self::buildDocument($buffer, count($documents) +1);
48
+            $documents[] = self::buildDocument($buffer, count($documents) + 1);
49 49
         } catch (\Exception|\Error|\ParseError $e) {
50 50
             throw new \Exception($e->getMessage(), 1, $e);
51 51
         }
Please login to merge, or discard this patch.