@@ -105,7 +105,7 @@ |
||
| 105 | 105 | $path = \trim($token->value(1), " \t\n\r\0\x0B\"'"); |
| 106 | 106 | |
| 107 | 107 | foreach (self::FILE_EXTENSIONS as $extension) { |
| 108 | - $file = \dirname($from->getPathname()) . '/' . $path . $extension; |
|
| 108 | + $file = \dirname($from->getPathname()).'/'.$path.$extension; |
|
| 109 | 109 | |
| 110 | 110 | if (\is_file($file)) { |
| 111 | 111 | return File::fromPathname($file); |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | public function resolve(Readable $readable, TokenInterface $token): void |
| 39 | 39 | { |
| 40 | - if (! \in_array($token->value(1), self::ALLOWED_PRAGMAS, true)) { |
|
| 40 | + if (!\in_array($token->value(1), self::ALLOWED_PRAGMAS, true)) { |
|
| 41 | 41 | $error = \vsprintf('Unknown configuration pragma rule "%s" with value "%s"', [ |
| 42 | 42 | $token->value(1), |
| 43 | 43 | $token->value(2) |