| Total Complexity | 7 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 19 | class BlankNode implements iBlankNode |
||
| 20 | { |
||
| 21 | private string $id; |
||
| 22 | |||
| 23 | public function __construct(?string $id = null) |
||
| 24 | { |
||
| 25 | if (empty($id)) { |
||
| 26 | // if no ID was given, generate random unique string |
||
| 27 | $id = bin2hex(random_bytes(16)); |
||
| 28 | } |
||
| 29 | |||
| 30 | if (!str_starts_with($id, '_:')) { |
||
| 31 | $id = '_:'.$id; |
||
| 32 | } |
||
| 33 | |||
| 34 | $this->id = $id; |
||
| 35 | } |
||
| 36 | |||
| 37 | public function __toString(): string |
||
| 38 | { |
||
| 39 | return $this->id; |
||
| 40 | } |
||
| 41 | |||
| 42 | public function equals(Term $term): bool |
||
| 43 | { |
||
| 44 | return $this === $term; |
||
| 45 | } |
||
| 46 | |||
| 47 | public function getType(): string |
||
| 50 | } |
||
| 51 | |||
| 52 | public function getValue(): string |
||
| 55 | } |
||
| 56 | } |
||
| 57 |
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