| Total Complexity | 4 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class AggregateRootId |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $id; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * AggregateRootId constructor. |
||
| 19 | * |
||
| 20 | * @param string $id |
||
| 21 | */ |
||
| 22 | public function __construct(string $id) |
||
| 23 | { |
||
| 24 | $this->id = $id; |
||
| 25 | } |
||
| 26 | |||
| 27 | public static function generate() |
||
| 32 | } |
||
| 33 | |||
| 34 | public function toString(): string |
||
| 35 | { |
||
| 36 | return $this->id; |
||
| 37 | } |
||
| 38 | |||
| 39 | public static function fromString(string $id): self |
||
| 45 | } |
||
| 46 | } |
||
| 47 |
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