| Conditions | 1 |
| Paths | 1 |
| Total Lines | 26 |
| Code Lines | 21 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function rules(): array |
||
| 17 | { |
||
| 18 | return [ |
||
| 19 | 'code' => [ |
||
| 20 | 'nullable', |
||
| 21 | 'string', |
||
| 22 | 'min:3', |
||
| 23 | 'max:3', |
||
| 24 | Rule::unique((new Currency())->getTable(), 'code') |
||
| 25 | ->whereNot('code', $this->getCurrency()->code->value), |
||
| 26 | ], |
||
| 27 | 'name' => 'nullable|string', |
||
| 28 | 'symbol' => 'nullable|string', |
||
| 29 | 'thousands_separator' => [ |
||
| 30 | 'nullable', |
||
| 31 | 'string', |
||
| 32 | Rule::in(',', '.'), |
||
| 33 | ], |
||
| 34 | 'decimal_separator' => [ |
||
| 35 | 'nullable', |
||
| 36 | 'string', |
||
| 37 | Rule::in(',', '.'), |
||
| 38 | ], |
||
| 39 | 'decimals' => 'nullable|int|min:0|max:6', |
||
| 40 | 'space_after_symbol' => 'nullable|bool', |
||
| 41 | 'is_active' => 'nullable|bool', |
||
| 42 | ]; |
||
| 50 |
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