Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | final class QueryCreatedSubscriber implements EventSubscriberInterface, QueryCreatedSubscriberInterface |
||
23 | { |
||
24 | /** @var CustomerGroupContext $groupContext */ |
||
25 | public $groupContext; |
||
26 | |||
27 | public function __construct(CustomerGroupContext $groupContext) |
||
28 | { |
||
29 | $this->groupContext = $groupContext; |
||
30 | } |
||
31 | |||
32 | public static function getSubscribedEvents(): array |
||
36 | ]; |
||
37 | } |
||
38 | |||
39 | public function onQueryCreated(QueryCreatedEvent $event): void |
||
47 | |||
48 | } |
||
50 |
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