| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class FileController extends Controller |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Get a list of files |
||
| 13 | */ |
||
| 14 | public function index(): JsonResponse |
||
| 15 | { |
||
| 16 | // TODO: implements |
||
| 17 | return new JsonResponse(); |
||
| 18 | } |
||
| 19 | |||
| 20 | public function show(File $file): JsonResponse |
||
| 21 | { |
||
| 22 | // TODO: implements |
||
| 23 | return new JsonResponse(); |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Upload a file |
||
| 28 | */ |
||
| 29 | public function store(): JsonResponse |
||
| 30 | { |
||
| 31 | // TODO: implements |
||
| 32 | return new JsonResponse(); |
||
| 33 | } |
||
| 34 | |||
| 35 | public function destroy(File $file): JsonResponse |
||
| 41 | } |
||
| 42 | } |
||
| 43 |
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