Skip to content

DOCSP-51123: CC edits and cleanup #198

DOCSP-51123: CC edits and cleanup

DOCSP-51123: CC edits and cleanup #198

Triggered via pull request July 1, 2025 21:32
Status Failure
Total duration 29s
Artifacts

coding-standards.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpcs: source/includes/bson/Person.php#L19
Visibility must be declared on method "bsonSerialize"
phpcs: source/includes/bson/Person.php#L16
Parentheses must be used when instantiating a new class
phpcs: source/includes/bson/Person.php#L14
Parentheses must be used when instantiating a new class
phpcs: source/includes/bson/Person.php#L9
Required promotion of property $name.
phpcs: source/includes/bson/interact-bson.php#L56
Expected 1 newline at end of file; 0 found
phpcs: source/includes/bson/interact-bson.php#L34
Whitespace found at end of line
phpcs: source/includes/bson/interact-bson.php#L21
Multi-line arrays must have a trailing comma after the last element.
phpcs: source/includes/bson/interact-bson.php#L17
Multi-line arrays must have a trailing comma after the last element.
phpcs: source/includes/bson/interact-bson.php#L7
Use statements should be sorted alphabetically. The first wrong one is Bson\Role.
phpcs: source/includes/bson/User.php#L12
Closing brace must be on a line by itself