| Total Complexity | 5 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | final class ResolverContainer implements ResolverContainerInterface |
||
| 16 | { |
||
| 17 | private ContainerInterface $container; |
||
| 18 | |||
| 19 | public function __construct(ContainerInterface $container) |
||
| 20 | { |
||
| 21 | $this->container = $container; |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param string $id |
||
| 26 | * |
||
| 27 | * @throws NotFoundExceptionInterface |
||
| 28 | * @throws ContainerExceptionInterface |
||
| 29 | * |
||
| 30 | * @return mixed|object |
||
| 31 | * |
||
| 32 | * @psalm-suppress InvalidThrow |
||
| 33 | */ |
||
| 34 | public function get($id) |
||
| 35 | { |
||
| 36 | return $this->container->get($id); |
||
| 37 | } |
||
| 38 | |||
| 39 | public function has($id): bool |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param string $id |
||
| 46 | * |
||
| 47 | * @throws NotFoundExceptionInterface |
||
| 48 | * @throws ContainerExceptionInterface |
||
| 49 | * |
||
| 50 | * @return mixed|object |
||
| 51 | * |
||
| 52 | * @psalm-suppress InvalidThrow |
||
| 53 | */ |
||
| 54 | public function getForReference(string $id) |
||
| 57 | } |
||
| 58 | |||
| 59 | public function cloneObjectOnResolve(): bool |
||
| 62 | } |
||
| 63 | } |
||
| 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