1 | <?php |
||
2 | |||
3 | namespace Braunstetter\TemplateHooks; |
||
4 | |||
5 | use Braunstetter\TemplateHooks\DependencyInjection\TemplateHooksExtension; |
||
6 | use Symfony\Component\DependencyInjection\Extension\ExtensionInterface; |
||
7 | use Symfony\Component\HttpKernel\Bundle\Bundle; |
||
8 | |||
9 | class TemplateHooksBundle extends Bundle |
||
10 | { |
||
11 | public function getContainerExtension(): bool|TemplateHooksExtension|ExtensionInterface|null |
||
0 ignored issues
–
show
|
|||
12 | { |
||
13 | if (null === $this->extension) { |
||
14 | $this->extension = new TemplateHooksExtension(); |
||
15 | } |
||
16 | |||
17 | return $this->extension; |
||
18 | } |
||
19 | } |
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