Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
40 | public function setup() |
||
41 | { |
||
42 | //set the default DI |
||
43 | $this->container = new FactoryDefault(); |
||
44 | //set all the services |
||
45 | |||
46 | /** |
||
47 | * @todo Find a better way to handle unit test file include |
||
48 | */ |
||
49 | $this->providers = require appPath('api/config/providers.php'); |
||
50 | |||
51 | //run my parents setup |
||
52 | parent::setup(); |
||
53 | } |
||
55 |
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