Conditions | 4 |
Paths | 3 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 20 |
Changes | 0 |
1 | <?php |
||
29 | protected function prepareConfig($params): DatabaseConfig |
||
30 | { |
||
31 | if ($params instanceof DatabaseConfig) { |
||
32 | return $params; |
||
33 | } |
||
34 | if (isset($params['connections'])) { |
||
35 | // prepare connections |
||
36 | foreach ($params['connections'] as &$connection) { |
||
37 | $connection = $this->prepareConnection($connection); |
||
38 | } |
||
39 | } |
||
40 | |||
41 | return new DatabaseConfig($params); |
||
42 | } |
||
60 |
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