Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class ExpectError extends AbstractAttribute implements TransformationInterface |
||
14 | { |
||
15 | private string $regexp; |
||
16 | |||
17 | public function __construct(string $regexp) |
||
18 | { |
||
19 | $this->regexp = $regexp; |
||
20 | } |
||
21 | |||
22 | public function asAttribute(): string |
||
23 | { |
||
24 | return self::createAttribute($this->regexp); |
||
25 | } |
||
26 | |||
27 | public function transform(ExampleObj $example): ExampleObj |
||
31 | ); |
||
32 | } |
||
33 | } |
||
34 |
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