Add the first set of unit tests #4
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.
|