Add the first set of unit tests #2
Annotations
10 errors and 10 warnings
Run PHPCS:
inc/class-inactive.php#L17
Missing doc comment for function __construct()
|
Run PHPCS:
inc/class-inactive.php#L22
Expected 9 spaces before asterisk; 5 found
|
Run PHPCS:
inc/class-inactive.php#L23
Expected 9 spaces before asterisk; 5 found
|
Run PHPCS:
inc/class-inactive.php#L24
Expected 9 spaces before asterisk; 5 found
|
Run PHPCS:
inc/class-inactive.php#L25
Expected 9 spaces before asterisk; 5 found
|
Run PHPCS:
inc/class-inactive.php#L30
Line indented incorrectly; expected 2 tabs, found 3
|
Run PHPCS:
inc/class-inactive.php#L32
Line indented incorrectly; expected 2 tabs, found 3
|
Run PHPCS:
inc/class-translation-milestone.php#L37
Missing doc comment for function __construct()
|
Run PHPCS:
inc/class-consistency.php#L22
Missing doc comment for function __construct()
|
Run PHPCS:
inc/class-consistency.php#L111
Doc comment for parameter "$months" missing
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run PHPCS:
inc/class-anniversary.php#L108
Use of a direct database call is discouraged.
|
Run PHPCS:
inc/class-anniversary.php#L108
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
|
Run PHPCS:
tests/test-anniversary.php#L8
Array double arrow not aligned correctly; expected 9 space(s) between "'today'" and double arrow, but found 1.
|
Run PHPCS:
tests/test-anniversary.php#L9
Array double arrow not aligned correctly; expected 3 space(s) between "'1 years ago'" and double arrow, but found 1.
|
Run PHPCS:
tests/test-anniversary.php#L11
Array double arrow not aligned correctly; expected 3 space(s) between "'2 years ago'" and double arrow, but found 1.
|
Run PHPCS:
tests/test-anniversary.php#L23
Array double arrow not aligned correctly; expected 16 space(s) between "'status'" and double arrow, but found 1.
|
Run PHPCS:
tests/test-anniversary.php#L24
Array double arrow not aligned correctly; expected 16 space(s) between "'locale'" and double arrow, but found 1.
|
Run PHPCS:
tests/test-anniversary.php#L25
Array double arrow not aligned correctly; expected 4 space(s) between "'translation_set_id'" and double arrow, but found 1.
|
Run PHPCS:
tests/test-anniversary.php#L26
Array double arrow not aligned correctly; expected 15 space(s) between "'user_id'" and double arrow, but found 1.
|
Loading