Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public function createService(ServiceLocatorInterface $serviceLocator) |
||
17 | { |
||
18 | $configuration = $serviceLocator->get(Configuration::class); |
||
19 | $filters = [ |
||
20 | new Filters\IsAvailable(), |
||
21 | new Filters\AfterSoldOut($configuration), |
||
22 | new Filters\ByDate($configuration), |
||
23 | new Filters\IsPrivate($configuration) |
||
24 | ]; |
||
25 | |||
26 | return new TicketAvailabilityService( |
||
27 | new DoctrineRepository(TicketCounter::class, $serviceLocator->get(EntityManager::class)), |
||
28 | ...$filters |
||
29 | ); |
||
31 | } |
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