Skip to content

test: Add ComposeUtilTest and expand edge case coverage #4

test: Add ComposeUtilTest and expand edge case coverage

test: Add ComposeUtilTest and expand edge case coverage #4

Triggered via push February 3, 2026 19:03
Status Failure
Total duration 20s
Artifacts 3

tests.yml

on: push
PHP Tests
15s
PHP Tests
BATS Tests
14s
BATS Tests
Static Analysis
14s
Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Static Analysis: source/compose.manager/php/compose_list.php#L54
Call to function is_array() with array<int<0, max>, string> will always evaluate to true.
Static Analysis: source/compose.manager/php/compose_list.php#L53
Variable $compose_root might not be defined.
Static Analysis: source/compose.manager/php/compose_list.php#L32
Variable $plugin_root might not be defined.
Static Analysis: source/compose.manager/php/compose_list.php#L28
Variable $plugin_root might not be defined.
Static Analysis: source/compose.manager/php/compose_list.php#L11
Function createComboButton() has parameter $text with no type specified.
Static Analysis: source/compose.manager/php/compose_list.php#L11
Function createComboButton() has parameter $onClickParams with no type specified.
Static Analysis: source/compose.manager/php/compose_list.php#L11
Function createComboButton() has parameter $onClick with no type specified.
Static Analysis: source/compose.manager/php/compose_list.php#L11
Function createComboButton() has parameter $items with no type specified.
Static Analysis: source/compose.manager/php/compose_list.php#L11
Function createComboButton() has parameter $id with no type specified.
Static Analysis: source/compose.manager/php/compose_list.php#L11
Function createComboButton() has no return type specified.
PHP Tests
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size Digest
bats-test-results
650 Bytes
sha256:3244d6b0b7f0fdc345f27565bfa9df6ab0da72c4ffc4a0f370f9609233188c26
php-coverage
330 KB
sha256:1d8156bf22204873db8e79020c57130e3b916e2154403cdb58fd739c4be68054
php-test-results
2.27 KB
sha256:604807e7599ca2f675ebef86e8308d8b79eb9de35214daa22eb461d1e7816221