Skip to content

DOCSP-51123: CC edits and cleanup #195

DOCSP-51123: CC edits and cleanup

DOCSP-51123: CC edits and cleanup #195

Triggered via pull request July 1, 2025 20:11
Status Failure
Total duration 24s
Artifacts

coding-standards.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

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