| Total Complexity | 5 | 
| Total Lines | 43 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 10 | class AdminRequest extends FormRequest | ||
| 11 | { | ||
| 12 | public function authorize() | ||
| 13 |     { | ||
| 14 | return true; | ||
| 15 | } | ||
| 16 | |||
| 17 | public function rules() | ||
| 20 | } | ||
| 21 | |||
| 22 | /** | ||
| 23 | * Resolve resource based on router parameters. | ||
| 24 | * | ||
| 25 | * @return null|Module | ||
| 26 | */ | ||
| 27 | public function resource(): ?Module | ||
| 32 | }); | ||
| 33 | }); | ||
| 34 | } | ||
| 35 | |||
| 36 | /** | ||
| 37 | * Resolve current model. | ||
| 38 | * | ||
| 39 | * @param $id | ||
| 40 | * @return null|Model | ||
| 41 | */ | ||
| 42 | public function resolveModel($id): ?Model | ||
| 53 | }); | ||
| 54 | } | ||
| 56 | 
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