| Total Complexity | 2 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class UserFactory extends Factory |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * The name of the factory's corresponding model. |
||
| 13 | * |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | protected $model = User::class; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Define the model's default state. |
||
| 20 | * |
||
| 21 | * @return array |
||
| 22 | */ |
||
| 23 | public function definition() |
||
| 31 | ]; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Indicate that the model's email address should be unverified. |
||
| 36 | * |
||
| 37 | * @return \Illuminate\Database\Eloquent\Factories\Factory |
||
| 38 | */ |
||
| 39 | public function unverified() |
||
| 48 |
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