Skip to content

Add new if helper to make it easier to create if else collections #78

Add new if helper to make it easier to create if else collections

Add new if helper to make it easier to create if else collections #78

Triggered via push October 27, 2025 09:55
Status Failure
Total duration 30s
Artifacts
Codestyle check on PHP 8.1
20s
Codestyle check on PHP 8.1
Matrix: Static analysis
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Static analysis (8.1)
Process completed with exit code 1.
Static analysis (8.1): src/CodeHelper/IfHelper/IfCollection.php#L51
Method Stefna\PhpCodeBuilder\CodeHelper\IfHelper\IfCollection::offsetGet() should return Stefna\PhpCodeBuilder\CodeHelper\IfHelper\IfCode|null but return statement is missing.
Static analysis (8.1): src/CodeHelper/IfHelper/IfCollection.php#L46
Method Stefna\PhpCodeBuilder\CodeHelper\IfHelper\IfCollection::offsetExists() should return bool but return statement is missing.