Total Complexity | 4 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | final class ServerBootloader extends Bootloader |
||
25 | { |
||
26 | /** |
||
27 | * @param BootloadManager $manager |
||
28 | * @throws \Throwable |
||
29 | */ |
||
30 | public function boot(BootloadManager $manager): void |
||
31 | { |
||
32 | $bootloader = $this->isLegacy() |
||
33 | ? LegacyRoadRunnerBootloader::class |
||
34 | : RoadRunnerBootloader::class |
||
35 | ; |
||
36 | |||
37 | $manager->bootload([$bootloader]); |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @return bool |
||
42 | */ |
||
43 | private function isLegacy(): bool |
||
52 | } |
||
53 | } |
||
54 |
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