| Conditions | 2 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | 74 | public static function getDefaultGeneratorsSet() |
|
| 39 | { |
||
| 40 | $result = [ |
||
| 41 | 74 | new TypedGenerator(), |
|
| 42 | ]; |
||
| 43 | |||
| 44 | 74 | if (class_exists(Constraint::class)) { |
|
| 45 | 57 | $result[] = new AssertGenerator(); |
|
| 46 | } |
||
| 47 | |||
| 48 | 74 | $result[] = new RecursiveGenerator(); |
|
| 49 | 74 | $result[] = new FakerGenerator(); |
|
| 50 | 74 | $result[] = new PhpDocGenerator(); |
|
| 51 | 74 | $result[] = new LastResortGenerator(); |
|
| 52 | |||
| 53 | 74 | return $result; |
|
| 54 | } |
||
| 69 |
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