1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace Bone\DebugBar; |
||
6 | |||
7 | use Barnacle\Container; |
||
8 | use Barnacle\RegistrationInterface; |
||
9 | use Bone\Contracts\Container\ContainerInterface; |
||
10 | use Bone\DebugBar\View\Extension\DebugBarExtension; |
||
11 | use Bone\View\ViewEngineInterface; |
||
12 | 1 | use Bone\View\ViewRegistrationInterface; |
|
13 | use Del\Booty\AssetRegistrationInterface; |
||
0 ignored issues
–
show
|
|||
14 | 1 | ||
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 |
||
36 | { |
||
37 | return ['debug-bar' => __DIR__ . '/../../../maximebf/debugbar/src/DebugBar/Resources']; |
||
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