SergiX44/XBackBone

View on GitHub
app/Controllers/UploadController.php

Summary

Maintainability
A
1 hr
Test Coverage

Method uploadEndpoint has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function uploadEndpoint(Request $request, Response $response): Response
    {
        if ($this->config['maintenance']) {
            $this->json['message'] = 'Endpoint under maintenance.';

Severity: Minor
Found in app/Controllers/UploadController.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status