Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | public function definition(): array |
||
14 | { |
||
15 | return [ |
||
16 | 'model_id' => fn () => Currency::factory()->create(), |
||
17 | 'model_type' => Currency::class, |
||
18 | 'category' => $this->faker->creditCardType(), |
||
19 | 'filename' => $this->faker->userName() . $this->faker->fileExtension(), |
||
20 | 'original_filename' => $this->faker->userName() . $this->faker->fileExtension(), |
||
21 | 'size' => random_int(1000, 999999), |
||
22 | 'path' => $this->faker->filePath(), |
||
23 | 'mime_type' => $this->faker->mimeType(), |
||
24 | 'source' => 'test', |
||
25 | ]; |
||
28 |
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