Completed
Push — master ( a66280...0fad01 )
by Panagiotis
02:22
created

phlint.configuration.distributed.php (1 issue)

Labels
Severity
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
The type phlint\autoload\Composer was not found. Maybe you did not declare it correctly or list all dependencies?

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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
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