| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 12 | class ApisGeneratorRequest extends FormRequest |
||
| 13 | { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Determine if the user is authorized to make this request. |
||
| 17 | * |
||
| 18 | * @return bool |
||
| 19 | */ |
||
| 20 | public |
||
| 21 | function authorize() |
||
| 22 | { |
||
| 23 | return config('apis_generator.request_auth'); |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Get the validation rules that apply to the request. |
||
| 28 | * |
||
| 29 | * @return array |
||
| 30 | */ |
||
| 31 | public |
||
| 42 | ]; |
||
| 43 | } |
||
| 44 | function getReservedNames() |
||
| 49 |
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