@@ -16,6 +16,6 @@ |
||
| 16 | 16 | { |
| 17 | 17 | protected function parse() |
| 18 | 18 | { |
| 19 | - throw new \LogicException(__METHOD__ . ' not implemented yet'); |
|
| 19 | + throw new \LogicException(__METHOD__.' not implemented yet'); |
|
| 20 | 20 | } |
| 21 | 21 | } |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | */ |
| 79 | 79 | private function bootInheritance(\SplStack $stack, array $children = []): void |
| 80 | 80 | { |
| 81 | - $push = function (string $type) use ($stack): void { |
|
| 81 | + $push = function(string $type) use ($stack): void { |
|
| 82 | 82 | self::$inheritance[$type] = \array_values(\iterator_to_array($stack)); |
| 83 | 83 | self::$inheritance[$type][] = static::ROOT_TYPE; |
| 84 | 84 | |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | */ |
| 42 | 42 | public function match(RuleInterface $rule): bool |
| 43 | 43 | { |
| 44 | - return (bool)(self::TYPE_DEFINITIONS[$rule->getName()] ?? false); |
|
| 44 | + return (bool) (self::TYPE_DEFINITIONS[$rule->getName()] ?? false); |
|
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | /** |
@@ -94,7 +94,7 @@ |
||
| 94 | 94 | return $inclusion; |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | - $pathname = \dirname($file->getPathname()) . \DIRECTORY_SEPARATOR . $inclusion; |
|
| 97 | + $pathname = \dirname($file->getPathname()).\DIRECTORY_SEPARATOR.$inclusion; |
|
| 98 | 98 | $pathname = \str_replace('/./', '/', $pathname); |
| 99 | 99 | |
| 100 | 100 | return $pathname; |