1 | <?php |
||
2 | /** |
||
3 | * Configuration file to add as service in the Di container. |
||
4 | */ |
||
5 | return [ |
||
6 | |||
7 | // Services to add to the container. |
||
8 | "services" => [ |
||
9 | "configuration" => [ |
||
10 | "shared" => true, |
||
11 | "callback" => function () { |
||
12 | $config = new \Anax\Configure\Configuration(); |
||
0 ignored issues
–
show
|
|||
13 | $dirs = require ANAX_INSTALL_PATH . "/config/configuration.php"; |
||
0 ignored issues
–
show
|
|||
14 | $config->setBaseDirectories($dirs); |
||
15 | return $config; |
||
16 | } |
||
17 | ], |
||
18 | ], |
||
19 | ]; |
||
20 |
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