@@ -77,7 +77,7 @@ discard block |
||
| 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 |
||
| 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; |
@@ -34,7 +34,7 @@ |
||
| 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); |
@@ -30,7 +30,7 @@ |
||
| 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 | } |
@@ -52,7 +52,7 @@ |
||
| 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 | /** |