Skip to content

Add the first set of unit tests #1

Add the first set of unit tests

Add the first set of unit tests #1

Triggered via pull request December 3, 2024 15:02
@akirkakirk
synchronize #4
add-unit-tests
Status Failure
Total duration 39s
Artifacts

coding-standards.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
phpcs: inc/class-inactive.php#L17
Missing doc comment for function __construct()
phpcs: inc/class-inactive.php#L22
Expected 9 spaces before asterisk; 5 found
phpcs: inc/class-inactive.php#L23
Expected 9 spaces before asterisk; 5 found
phpcs: inc/class-inactive.php#L24
Expected 9 spaces before asterisk; 5 found
phpcs: inc/class-inactive.php#L25
Expected 9 spaces before asterisk; 5 found
phpcs: inc/class-inactive.php#L30
Line indented incorrectly; expected 2 tabs, found 3
phpcs: inc/class-inactive.php#L32
Line indented incorrectly; expected 2 tabs, found 3
phpcs: inc/class-translation-milestone.php#L37
Missing doc comment for function __construct()
phpcs: inc/class-consistency.php#L22
Missing doc comment for function __construct()
phpcs: inc/class-consistency.php#L111
Doc comment for parameter "$months" missing
phpcs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpcs: tests/test-anniversary.php#L6
Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
phpcs: tests/test-anniversary.php#L8
Array double arrow not aligned correctly; expected 16 space(s) between "'status'" and double arrow, but found 1.
phpcs: tests/test-anniversary.php#L9
Array double arrow not aligned correctly; expected 16 space(s) between "'locale'" and double arrow, but found 1.
phpcs: tests/test-anniversary.php#L10
Array double arrow not aligned correctly; expected 4 space(s) between "'translation_set_id'" and double arrow, but found 1.
phpcs: tests/test-anniversary.php#L11
Array double arrow not aligned correctly; expected 15 space(s) between "'user_id'" and double arrow, but found 1.