1 | <?php |
||
2 | |||
3 | return function ($phlint) { |
||
4 | |||
5 | // Find code through Composer autoloader. |
||
6 | $phlint[] = new \phlint\autoload\Composer(__dir__ . '/composer.json'); |
||
0 ignored issues
–
show
|
|||
7 | |||
8 | // Where to look for code to analyze. |
||
9 | $phlint->addPath(__dir__ . '/src/'); |
||
10 | $phlint->addPath(__dir__ . '/tests/'); |
||
11 | |||
12 | // Not all rules are enabled by default. |
||
13 | $phlint->enableRule('all'); |
||
14 | |||
15 | }; |
||
16 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths