SchulIT /
icc
| 1 | <?php |
||
| 2 | |||
| 3 | namespace App; |
||
| 4 | |||
| 5 | use App\DependencyInjection\Compiler\RemoveCleanupCommandPass; |
||
| 6 | use App\DependencyInjection\Compiler\RemoveDumpCommandPass; |
||
| 7 | use App\DependencyInjection\Compiler\RemovePcntlEventSubscriberPass; |
||
| 8 | use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; |
||
| 9 | use Symfony\Bundle\SecurityBundle\DependencyInjection\SecurityExtension; |
||
| 10 | use Symfony\Component\Config\Loader\LoaderInterface; |
||
| 11 | use Symfony\Component\Config\Resource\FileResource; |
||
| 12 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
||
|
0 ignored issues
–
show
|
|||
| 13 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
||
| 14 | use Symfony\Component\HttpKernel\Kernel as BaseKernel; |
||
| 15 | |||
| 16 | class Kernel extends BaseKernel |
||
| 17 | { |
||
| 18 | use MicroKernelTrait; |
||
|
0 ignored issues
–
show
|
|||
| 19 | |||
| 20 | public function build(ContainerBuilder $container) { |
||
| 21 | /** @var SecurityExtension $extension */ |
||
| 22 | $extension = $container->getExtension('security'); |
||
|
0 ignored issues
–
show
|
|||
| 23 | $container->addCompilerPass(new RemoveDumpCommandPass()); |
||
| 24 | $container->addCompilerPass(new RemoveCleanupCommandPass()); |
||
| 25 | $container->addCompilerPass(new RemovePcntlEventSubscriberPass()); |
||
| 26 | } |
||
| 27 | } |
||
| 28 |
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