| Total Complexity | 2 |
| Total Lines | 55 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class SystemModulesController extends BaseController |
||
| 17 | { |
||
| 18 | /* |
||
| 19 | * fields we accept to create |
||
| 20 | * |
||
| 21 | * @var array |
||
| 22 | */ |
||
| 23 | protected $createFields = [ |
||
| 24 | 'name', |
||
| 25 | 'slug', |
||
| 26 | 'model_name', |
||
| 27 | 'browse_fields', |
||
| 28 | 'show', |
||
| 29 | 'protected' |
||
| 30 | ]; |
||
| 31 | |||
| 32 | /* |
||
| 33 | * fields we accept to create |
||
| 34 | * |
||
| 35 | * @var array |
||
| 36 | */ |
||
| 37 | protected $updateFields = [ |
||
| 38 | 'name', |
||
| 39 | 'slug', |
||
| 40 | 'model_name', |
||
| 41 | 'browse_fields', |
||
| 42 | 'show', |
||
| 43 | 'protected' |
||
| 44 | ]; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * set objects. |
||
| 48 | * |
||
| 49 | * @return void |
||
| 50 | */ |
||
| 51 | public function onConstruct() |
||
| 58 | ]; |
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * Delete a Record. |
||
| 63 | * |
||
| 64 | * @throws Exception |
||
| 65 | * |
||
| 66 | * @return Response |
||
| 67 | */ |
||
| 68 | public function delete($id) : Response |
||
| 73 |
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