Add the first set of unit tests #9
Annotations
7 errors and 5 warnings
phpcs:
tests/test-first-translation.php#L15
Missing doc comment for function test_first_translation_notification()
|
phpcs:
tests/test-first-translation.php#L24
When a multi-item array uses associative keys, each value should start on a new line.
|
phpcs:
tests/test-first-translation.php#L49
Function closing brace must go on the next line following the body; found 1 blank lines before brace
|
phpcs:
tests/test-first-translation.php#L51
Missing doc comment for function test_first_translation_hook_notification()
|
phpcs:
tests/test-first-translation.php#L70
When a multi-item array uses associative keys, each value should start on a new line.
|
phpcs:
tests/test-first-translation.php#L86
Function closing brace must go on the next line following the body; found 1 blank lines before brace
|
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-first-translation.php#L16
Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
|
phpcs:
tests/test-first-translation.php#L17
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
|
phpcs:
tests/test-first-translation.php#L61
Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
|
phpcs:
tests/test-first-translation.php#L62
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
|