b2pweb /
bdf-queue-bundle
| 1 | <?php |
||
| 2 | |||
| 3 | use Symfony\Component\Config\Loader\LoaderInterface; |
||
| 4 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
||
| 5 | use Symfony\Component\Routing\RouteCollectionBuilder; |
||
|
0 ignored issues
–
show
|
|||
| 6 | |||
| 7 | class TestKernel extends \Symfony\Component\HttpKernel\Kernel |
||
| 8 | { |
||
| 9 | use \Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; |
||
|
0 ignored issues
–
show
|
|||
| 10 | |||
| 11 | private $config; |
||
| 12 | |||
| 13 | public function __construct(?string $config = null) |
||
| 14 | { |
||
| 15 | parent::__construct($config ? dechex(crc32($config)) : 'dev', true); |
||
| 16 | |||
| 17 | $this->config = $config; |
||
| 18 | } |
||
| 19 | |||
| 20 | public function registerBundles(): iterable |
||
| 21 | { |
||
| 22 | return [ |
||
| 23 | new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(), |
||
| 24 | new \Bdf\QueueBundle\BdfQueueBundle(), |
||
| 25 | new \Bdf\PrimeBundle\PrimeBundle(), |
||
| 26 | ]; |
||
| 27 | } |
||
| 28 | |||
| 29 | protected function configureContainer(ContainerBuilder $c, LoaderInterface $loader) |
||
| 30 | { |
||
| 31 | $loader->load($this->config ?? __DIR__.'/Fixtures/conf.yaml'); |
||
| 32 | } |
||
| 33 | |||
| 34 | // PHP 7.1 |
||
| 35 | protected function configureRoutes(RouteCollectionBuilder $routes) |
||
| 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