DOCSP-51123: CC edits and cleanup #195
Annotations
10 errors
Run PHP_CodeSniffer:
source/includes/monitoring-logging/monitor.php#L8
Opening brace should be on a new line
|
Run PHP_CodeSniffer:
source/includes/monitoring-logging/monitor.php#L8
Method \MyCommandSubscriber::__construct() does not have parameter type hint nor @param annotation for its parameter $stream.
|
Run PHP_CodeSniffer:
source/includes/monitoring-logging/logging.php#L25
Method \MyLogger::log() does not have parameter type hint nor @param annotation for its parameter $message.
|
Run PHP_CodeSniffer:
source/includes/monitoring-logging/logging.php#L25
Method \MyLogger::log() does not have parameter type hint nor @param annotation for its parameter $level.
|
Run PHP_CodeSniffer:
source/includes/monitoring-logging/logging.php#L19
Type MongoDB\PsrLogAdapter is not used in this file.
|
Run PHP_CodeSniffer:
source/includes/monitoring-logging/logging.php#L18
Type Psr\Log\LogLevel is not used in this file.
|
Run PHP_CodeSniffer:
source/includes/monitoring-logging/logging.php#L17
Type Psr\Log\LoggerInterface is not used in this file.
|
Run PHP_CodeSniffer:
source/includes/monitoring-logging/logging.php#L16
Expected 0 lines between same types of use statement, found 7.
|
Run PHP_CodeSniffer:
source/includes/monitoring-logging/logging.php#L7
Use statements should be sorted alphabetically. The first wrong one is Monolog\Handler\StreamHandler.
|
Run PHP_CodeSniffer:
source/includes/connect/client.php#L6
Expected 1 newline at end of file; 0 found
|
Loading