| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 12 | final class ProposalSender implements EventHandler |
||
| 13 | { |
||
| 14 | private $proposals; |
||
| 15 | |||
| 16 | public function __construct(MatchProposals $proposals) |
||
| 17 | { |
||
| 18 | $this->proposals = $proposals; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function events(): iterable |
||
| 22 | { |
||
| 23 | return [MatchWasProposed::class]; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function handle(DomainEvent $event): void |
||
| 36 | ) |
||
| 37 | ); |
||
| 38 | } |
||
| 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