Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
13 | trait EventAwareTrait |
||
14 | { |
||
15 | /** |
||
16 | * @var EventInterface[] |
||
17 | */ |
||
18 | private $events = []; |
||
19 | |||
20 | /** |
||
21 | * Registers that $event occurred |
||
22 | * @param EventInterface $event |
||
23 | */ |
||
24 | public function recordThat(EventInterface $event): void |
||
25 | { |
||
26 | $this->events[] = $event; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @return EventInterface[] of occurred events |
||
31 | */ |
||
32 | public function releaseEvents(): array |
||
38 | } |
||
39 | } |
||
40 |
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