| Total Complexity | 5 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final class CategoryWasCreated extends AggregateChanged |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var AggregateRootId |
||
| 15 | */ |
||
| 16 | private $id; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var Name |
||
| 20 | */ |
||
| 21 | private $name; |
||
| 22 | |||
| 23 | public static function createWithData(AggregateRootId $id, Name $name): self |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getId(): AggregateRootId |
||
| 37 | { |
||
| 38 | if (null === $this->id) { |
||
| 39 | $this->id = AggregateRootId::fromString($this->aggregateId()); |
||
| 40 | } |
||
| 41 | |||
| 42 | return $this->id; |
||
| 43 | } |
||
| 44 | |||
| 45 | public function getName(): Name |
||
| 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