Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
23 | public function setup() |
||
24 | { |
||
25 | //set the default DI |
||
26 | $this->container = new FactoryDefault(); |
||
27 | //set all the services |
||
28 | |||
29 | /** |
||
30 | * @todo Find a better way to handle unit test file include |
||
31 | */ |
||
32 | $this->providers = require appPath('tests/providers.php'); |
||
33 | |||
34 | //run my parents setup |
||
35 | $this->container->set('metrics', microtime(true)); |
||
36 | $this->setupApplication(); |
||
37 | $this->registerServices(); |
||
38 | } |
||
40 |
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