Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 3.0416 |
Changes | 0 |
1 | <?php |
||
38 | 592 | public function get(...$keys) |
|
39 | { |
||
40 | // configuration is missed |
||
41 | 592 | if (empty($this->container)) { |
|
42 | throw new ConfigException('System configuration is missing'); |
||
43 | } |
||
44 | |||
45 | 592 | if (!count($keys)) { |
|
46 | 2 | return $this->container; |
|
47 | } |
||
48 | |||
49 | 591 | return Collection::get($this->container, ...$keys); |
|
50 | } |
||
52 |
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