Completed
Push — master ( ed0b0a...598945 )
by Kirill
10:02 queued 07:51
created
src/Compiler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      */
78 78
     public function saveTo(string $path): void
79 79
     {
80
-        $pathName = $path . '/' . $this->class . '.php';
80
+        $pathName = $path.'/'.$this->class.'.php';
81 81
 
82 82
         \file_put_contents($pathName, $this->build());
83 83
     }
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
         \ob_start();
92 92
 
93 93
         try {
94
-            require __DIR__ . '/../resources/parser.tpl.php';
94
+            require __DIR__.'/../resources/parser.tpl.php';
95 95
             return \ob_get_contents();
96 96
         } catch (\Throwable $e) {
97 97
             throw $e;
Please login to merge, or discard this patch.
src/Grammar/Delegate/IncludeDelegate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $file = $this->getValues()->current()->getValue(1);
35 35
 
36 36
         foreach (['', '.pp', 'pp2'] as $ext) {
37
-            $path = \dirname($from->getPathname()) . '/' . $file . $ext;
37
+            $path = \dirname($from->getPathname()).'/'.$file.$ext;
38 38
 
39 39
             if (\is_file($path)) {
40 40
                 return File::fromPathname($path);
Please login to merge, or discard this patch.
src/Grammar/Delegate/TokenDelegate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
         $lexer->add($this->getTokenName(), $this->getTokenPattern());
32 32
 
33
-        if (! $this->isKept()) {
33
+        if (!$this->isKept()) {
34 34
             $lexer->skip($this->getTokenName());
35 35
         }
36 36
     }
Please login to merge, or discard this patch.
src/Grammar/Delegate/RuleDelegate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      */
53 53
     public function isKept(): bool
54 54
     {
55
-        return (bool)$this->first('ShouldKeep');
55
+        return (bool) $this->first('ShouldKeep');
56 56
     }
57 57
 
58 58
     /**
Please login to merge, or discard this patch.