Total Complexity | 6 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | #[Package('core')] |
||
20 | class Kernel extends BaseKernel |
||
21 | { |
||
22 | use MicroKernelTrait; |
||
23 | |||
24 | /** |
||
25 | * @return BundleInterface[] |
||
26 | */ |
||
27 | public function registerBundles(): array |
||
28 | { |
||
29 | return [ |
||
30 | new FrameworkBundle(), |
||
31 | new TwigBundle(), |
||
32 | ]; |
||
33 | } |
||
34 | |||
35 | public function getProjectDir(): string |
||
36 | { |
||
37 | return __DIR__; |
||
38 | } |
||
39 | |||
40 | public function getLogDir(): string |
||
43 | } |
||
44 | |||
45 | public function getCacheDir(): string |
||
46 | { |
||
47 | return sys_get_temp_dir() . '/shopware-recovery/'; |
||
48 | } |
||
49 | |||
50 | protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader): void |
||
51 | { |
||
52 | $loader->load(__DIR__ . '/Resources/config/config.yml'); |
||
53 | } |
||
54 | |||
55 | protected function configureRoutes(RoutingConfigurator $routes): void |
||
58 | } |
||
59 | } |
||
60 |
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