Skip to content

Add the first set of unit tests #9

Add the first set of unit tests

Add the first set of unit tests #9

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

coding-standards.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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