| Total Complexity | 4 |
| Total Lines | 42 |
| 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 | * @codeCoverageIgnore |
||
| 15 | */ |
||
| 16 | public function index(): JsonResponse |
||
| 17 | { |
||
| 18 | // TODO: implements |
||
| 19 | return new JsonResponse(); |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @codeCoverageIgnore |
||
| 24 | */ |
||
| 25 | public function show(File $file): JsonResponse |
||
| 26 | { |
||
| 27 | // TODO: implements |
||
| 28 | return new JsonResponse(); |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Upload a file |
||
| 33 | * |
||
| 34 | * @codeCoverageIgnore |
||
| 35 | */ |
||
| 36 | public function store(): JsonResponse |
||
| 37 | { |
||
| 38 | // TODO: implements |
||
| 39 | return new JsonResponse(); |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @codeCoverageIgnore |
||
| 44 | */ |
||
| 45 | public function destroy(File $file): JsonResponse |
||
| 51 | } |
||
| 52 | } |
||
| 53 |
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