| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class DebugBarPackage implements RegistrationInterface, ViewRegistrationInterface, AssetRegistrationInterface |
||
| 16 | { |
||
| 17 | public function addToContainer(ContainerInterface $c): void |
||
| 18 | { |
||
| 19 | $c[DebugBar::class] = new DebugBar(); |
||
| 20 | } |
||
| 21 | |||
| 22 | public function addViews(): array |
||
| 23 | { |
||
| 24 | return []; |
||
| 25 | } |
||
| 26 | |||
| 27 | public function addViewExtensions(Container $c): array |
||
| 28 | { |
||
| 29 | $debugBar = $c->get(DebugBar::class); |
||
| 30 | $viewEngine = $c->get(ViewEngineInterface::class); |
||
| 31 | |||
| 32 | return [new DebugBarExtension($viewEngine, $debugBar)]; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getAssetFolders(): array |
||
| 38 | } |
||
| 39 | } |
||
| 40 |
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