Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public function rules(): array |
||
17 | { |
||
18 | return [ |
||
19 | 'code' => [ |
||
20 | 'required', |
||
21 | 'string', |
||
22 | 'min:2', |
||
23 | 'max:2', |
||
24 | Rule::unique((new Country())->getTable(), 'code'), |
||
25 | ], |
||
26 | 'name' => 'required|string', |
||
27 | 'continent' => 'required|string', |
||
28 | 'dial_code' => 'required|string|starts_with:+', |
||
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