alientronics/fleetany-api

View on GitHub
tests/AlertTest.php

Summary

Maintainability
A
0 mins
Test Coverage

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class AlertTest extends TestCase
Severity: Minor
Found in tests/AlertTest.php by phpcodesniffer

Function closing brace must go on the next line following the body; found 1 blank lines before brace
Open

    }
Severity: Minor
Found in tests/AlertTest.php by phpcodesniffer

Only one argument is allowed per line in a multi-line function call
Open

        $return = $objAlertController->sendAlertTireMail($company, $vehicle->id, 
Severity: Minor
Found in tests/AlertTest.php by phpcodesniffer

Only one argument is allowed per line in a multi-line function call
Open

            $tireSensor, 100, [$user]);
Severity: Minor
Found in tests/AlertTest.php by phpcodesniffer

Only one argument is allowed per line in a multi-line function call
Open

            $tireSensor, 100, [$user]);
Severity: Minor
Found in tests/AlertTest.php by phpcodesniffer

Whitespace found at end of line
Open

        $return = $objAlertController->sendAlertTireMail($company, $vehicle->id, 
Severity: Minor
Found in tests/AlertTest.php by phpcodesniffer

Multi-line function call not indented correctly; expected 8 spaces but found 12
Open

            $tireSensor, 100, [$user]);
Severity: Minor
Found in tests/AlertTest.php by phpcodesniffer

Closing parenthesis of a multi-line function call must be on a line by itself
Open

            $tireSensor, 100, [$user]);
Severity: Minor
Found in tests/AlertTest.php by phpcodesniffer

Opening parenthesis of a multi-line function call must be the last content on the line
Open

        $return = $objAlertController->sendAlertTireMail($company, $vehicle->id, 
Severity: Minor
Found in tests/AlertTest.php by phpcodesniffer

There are no issues that match your filters.

Category
Status