src/contracts/interface-driver.php
The class Driver_Interface is not named in CamelCase. Open
Open
interface Driver_Interface {
/**
* Driver Constructor.
*
- Read upRead up
- Exclude checks
CamelCaseClassName
Since: 0.2
It is considered best practice to use the CamelCase notation to name classes.
Example
class class_name {
}
Source
Expected 0 spaces between argument "$cargo" and closing bracket; 1 found Open
Open
public function __construct( Cargo $cargo );
- Exclude checks
Expected 0 spaces between opening bracket and type hint "Cargo"; 1 found Open
Open
public function __construct( Cargo $cargo );
- Exclude checks
Opening brace of a interface must be on the line after the definition Open
Open
interface Driver_Interface {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @param \Isotop\Cargo\Cargo $cargo
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function __construct( Cargo $cargo );
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Driver Constructor.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Interface name "Driver_Interface" is not in camel caps format Open
Open
interface Driver_Interface {
- Exclude checks