features/search/routes.php

Summary

Maintainability
A
0 mins
Test Coverage

Expected 1 space after FUNCTION keyword; 0 found
Open

$app->get('/search', function() use ($app) {
Severity: Minor
Found in features/search/routes.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        if($q === null || $q === "" || $q === "\"\""){
Severity: Minor
Found in features/search/routes.php by phpcodesniffer

Expected 1 newline at end of file; 0 found
Open

});
Severity: Minor
Found in features/search/routes.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        }
Severity: Minor
Found in features/search/routes.php by phpcodesniffer

Expected 1 space after IF keyword; 0 found
Open

        if($q === null || $q === "" || $q === "\"\""){
Severity: Minor
Found in features/search/routes.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 0
Open

        if($q === null || $q === "" || $q === "\"\""){
Severity: Minor
Found in features/search/routes.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        } else {
Severity: Minor
Found in features/search/routes.php by phpcodesniffer

There are no issues that match your filters.

Category
Status