spatie /
laravel-enum
| 1 | <?php |
||
| 2 | |||
| 3 | return [ |
||
| 4 | 'enum' => 'The :attribute field is not a valid :enum.', |
||
| 5 | 'enum_index' => 'The :attribute field is not a valid index of :enum.', |
||
| 6 | 'enum_name' => 'The :attribute field is not a valid name of :enum.', |
||
| 7 | 'enum_value' => 'The :attribute field is not a valid value of :enum.', |
||
| 8 | |||
| 9 | 'enums' => [ |
||
| 10 | // example content - replace/remove it if needed |
||
| 11 | \Spatie\Enum\Enumerable::class => [ |
||
|
0 ignored issues
–
show
|
|||
| 12 | 'slugged_name' => 'translated value', |
||
| 13 | 'slugged_other_name' => 'translated other value', |
||
| 14 | ], |
||
| 15 | ], |
||
| 16 | ]; |
||
| 17 |
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