Skip to content

Add the first set of unit tests #4

Add the first set of unit tests

Add the first set of unit tests #4

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

coding-standards.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 3 warnings
phpcs: inc/class-consistency.php#L161
Doc comment for parameter "$months" missing
phpcs: inc/class-consistency.php#L161
Doc comment for parameter "$user_ids" missing
phpcs: inc/class-consistency.php#L164
Doc comment for parameter $users_notified does not match actual variable name $months
phpcs: inc/class-consistency.php#L166
Expected type hint "array"; found "int" for $users_notified
phpcs
Process completed with exit code 1.
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-consistency.php#L21
Array double arrow not aligned correctly; expected 2 space(s) between "'3 months'" and double arrow, but found 1.
phpcs: tests/test-consistency.php#L22
Array double arrow not aligned correctly; expected 2 space(s) between "'6 months'" and double arrow, but found 1.