Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
12 | 4 | public function generateForProperty(FieldMetadata $field, Constraint $constraint, Generator $faker) |
|
13 | { |
||
14 | /** |
||
15 | * @var \Symfony\Component\Validator\Constraints\Regex |
||
16 | */ |
||
17 | 4 | $generator = new TypedGenerator(); |
|
18 | |||
19 | 4 | return $generator->generateForRegex($constraint->pattern); |
|
20 | } |
||
22 |
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