| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public function getExtensions(): array |
||
| 28 | { |
||
| 29 | return [ |
||
| 30 | ContainerInterface::class => function (ContainerInterface $container, ContainerInterface $extended) { |
||
| 31 | /** @var ORMInterface */ |
||
| 32 | $orm = $extended->get(ORMInterface::class); |
||
| 33 | /** @psalm-suppress InaccessibleMethod */ |
||
| 34 | $repositoryContainer = new RepositoryContainer($orm); |
||
| 35 | $compositeContainer = new CompositeContainer(); |
||
| 36 | $compositeContainer->attach($repositoryContainer); |
||
| 37 | $compositeContainer->attach($extended); |
||
| 38 | |||
| 39 | return $compositeContainer; |
||
| 40 | }, |
||
| 44 |
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