Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
52 | public function resolve(): mixed |
||
53 | { |
||
54 | if (!$this->container instanceof ContainerInterface) { |
||
55 | throw new ContainerNotSetException( |
||
56 | "No container was set for definition. ". |
||
57 | "It is not possible to look for alias '{$this->alias}'" |
||
58 | ); |
||
59 | } |
||
60 | |||
61 | return $this->container->get($this->alias); |
||
62 | } |
||
64 |
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