Total Complexity | 5 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | final class NameField |
||
20 | { |
||
21 | private string $name; |
||
22 | |||
23 | public function __construct(string $name) |
||
30 | } |
||
31 | |||
32 | public static function fromString(string $name): self |
||
33 | { |
||
34 | return new self($name); |
||
35 | } |
||
36 | |||
37 | public function getValue(): string |
||
38 | { |
||
39 | return $this->name; |
||
40 | } |
||
41 | |||
42 | public function slugify(): string |
||
47 | } |
||
48 | } |
||
49 |
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