Coding standards #25
Annotations
10 errors
PHPCS:
API.php#L6
Expected 1 line between description and annotations, found 0.
|
PHPCS:
API.php#L14
Use statements should be sorted alphabetically. The first wrong one is Piwik\Common.
|
PHPCS:
API.php#L25
Class \Piwik\Plugin\API should not be referenced via a fully qualified name, but via a use statement.
|
PHPCS:
API.php#L26
There must be one empty line after class opening brace.
|
PHPCS:
API.php#L35
Class name \Piwik\DataTable in @return should be referenced via a fully qualified name.
|
PHPCS:
API.php#L37
Expected 1 blank line after method, found 0.
|
PHPCS:
API.php#L45
The placement of "public static methods" group is invalid. Last group was "private static methods" and one of these is expected after it: private static methods, magic methods
|
PHPCS:
API.php#L50
Class \Exception should not be referenced via a fully qualified name, but via a use statement.
|
PHPCS:
API.php#L53
Class \Exception should not be referenced via a fully qualified name, but via a use statement.
|
PHPCS:
API.php#L75
Class name \Piwik\DataTable in @return should be referenced via a fully qualified name.
|