@@ -62,7 +62,7 @@ |
||
| 62 | 62 | int $code = 0, |
| 63 | 63 | ?\Throwable $previous = null, |
| 64 | 64 | array $arguments = [] |
| 65 | - ): void; |
|
| 65 | + ) : void; |
|
| 66 | 66 | |
| 67 | 67 | /** |
| 68 | 68 | * @param string $eventId |
@@ -109,7 +109,7 @@ |
||
| 109 | 109 | */ |
| 110 | 110 | private static function makeFileName(string $name): string |
| 111 | 111 | { |
| 112 | - return $name.'.php'; |
|
| 112 | + return $name . '.php'; |
|
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | /** |
@@ -138,7 +138,7 @@ |
||
| 138 | 138 | int $code = 0, |
| 139 | 139 | ?\Throwable $previous = null, |
| 140 | 140 | array $arguments = [] |
| 141 | - ): void { |
|
| 141 | + ) : void { |
|
| 142 | 142 | throw self::exception($exceptionClass, $message, $code, $previous, $arguments); |
| 143 | 143 | } |
| 144 | 144 | } |
@@ -2,14 +2,14 @@ |
||
| 2 | 2 | |
| 3 | 3 | return function ($phlint) { |
| 4 | 4 | |
| 5 | - // Find code through Composer autoloader. |
|
| 6 | - $phlint[] = new \phlint\autoload\Composer(__dir__ . '/composer.json'); |
|
| 5 | + // Find code through Composer autoloader. |
|
| 6 | + $phlint[] = new \phlint\autoload\Composer(__dir__ . '/composer.json'); |
|
| 7 | 7 | |
| 8 | - // Where to look for code to analyze. |
|
| 9 | - $phlint->addPath(__dir__ . '/src/'); |
|
| 10 | - $phlint->addPath(__dir__ . '/tests/'); |
|
| 8 | + // Where to look for code to analyze. |
|
| 9 | + $phlint->addPath(__dir__ . '/src/'); |
|
| 10 | + $phlint->addPath(__dir__ . '/tests/'); |
|
| 11 | 11 | |
| 12 | - // Not all rules are enabled by default. |
|
| 13 | - $phlint->enableRule('all'); |
|
| 12 | + // Not all rules are enabled by default. |
|
| 13 | + $phlint->enableRule('all'); |
|
| 14 | 14 | |
| 15 | 15 | }; |