| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class TestKernel extends \Symfony\Component\HttpKernel\Kernel |
||
| 8 | { |
||
| 9 | use \Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; |
||
| 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 |
||
| 26 | ]; |
||
| 27 | } |
||
| 28 | |||
| 29 | protected function configureContainer(ContainerBuilder $c, LoaderInterface $loader) |
||
| 32 | } |
||
| 33 | |||
| 34 | // PHP 7.1 |
||
| 35 | protected function configureRoutes(RouteCollectionBuilder $routes) |
||
| 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