fractalzombie /
frzb-dependency-injection
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | /* |
||
| 6 | * This is package for Symfony framework. |
||
| 7 | * |
||
| 8 | * (c) Mykhailo Shtanko <[email protected]> |
||
| 9 | * |
||
| 10 | * For the full copyright and license information, please view the LICENSE |
||
| 11 | * file that was distributed with this source code. |
||
| 12 | */ |
||
| 13 | |||
| 14 | namespace FRZB\Component\DependencyInjection; |
||
| 15 | |||
| 16 | use FRZB\Component\DependencyInjection\Compiler\RegisterAsAliasAttributesPass; |
||
| 17 | use FRZB\Component\DependencyInjection\Compiler\RegisterAsDecoratorAttributesPass; |
||
| 18 | use FRZB\Component\DependencyInjection\Compiler\RegisterAsDeprecatedAttributesPass; |
||
| 19 | use FRZB\Component\DependencyInjection\Compiler\RegisterAsIgnoredAttributesPass; |
||
| 20 | use FRZB\Component\DependencyInjection\Compiler\RegisterAsServiceAttributePass; |
||
| 21 | use FRZB\Component\DependencyInjection\Compiler\RegisterAsTaggedAttributesPass; |
||
| 22 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
||
|
0 ignored issues
–
show
|
|||
| 23 | use Symfony\Component\HttpKernel\Bundle\Bundle; |
||
| 24 | |||
| 25 | final class DependencyInjectionBundle extends Bundle |
||
| 26 | { |
||
| 27 | public function build(ContainerBuilder $container): void |
||
| 28 | { |
||
| 29 | $container |
||
| 30 | ->addCompilerPass(new RegisterAsAliasAttributesPass()) |
||
| 31 | ->addCompilerPass(new RegisterAsServiceAttributePass()) |
||
| 32 | ->addCompilerPass(new RegisterAsTaggedAttributesPass()) |
||
| 33 | ->addCompilerPass(new RegisterAsIgnoredAttributesPass()) |
||
| 34 | ->addCompilerPass(new RegisterAsDecoratorAttributesPass()) |
||
| 35 | ->addCompilerPass(new RegisterAsDeprecatedAttributesPass()) |
||
| 36 | ; |
||
| 37 | } |
||
| 38 | } |
||
| 39 |
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