@@ -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 | }; |