| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function definition(): array |
||
| 15 | { |
||
| 16 | $fakeFile = UploadedFile::fake() |
||
| 17 | ->create($this->faker->slug() . '.txt'); |
||
| 18 | |||
| 19 | return [ |
||
| 20 | 'model_id' => fn () => Currency::factory()->create(), |
||
| 21 | 'model_type' => Currency::class, |
||
| 22 | 'category' => $this->faker->creditCardType(), |
||
| 23 | 'filename' => $fakeFile->getBasename(), |
||
| 24 | 'original_filename' => $fakeFile->getBasename(), |
||
| 25 | 'path' => $fakeFile->path(), |
||
| 26 | 'size' => $fakeFile->getSize(), |
||
| 27 | 'mime_type' => 'text/plain', |
||
| 28 | 'source' => 'local', |
||
| 29 | ]; |
||
| 32 |
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