Skip to content

CheckStatistics#assembleBody(): avoid divisions by 0 #2564

CheckStatistics#assembleBody(): avoid divisions by 0

CheckStatistics#assembleBody(): avoid divisions by 0 #2564

Triggered via pull request October 13, 2023 07:53
@nilmergnilmerg
synchronize #908
div-by0
Status Failure
Total duration 1m 55s
Artifacts

php.yml

on: pull_request
Matrix: lint
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Static analysis for php 8.0 on ubuntu-latest: library/Icingadb/Widget/Detail/CheckStatistics.php#L215
Else branch is unreachable because ternary operator condition is always true.
Static analysis for php 8.0 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.2 on ubuntu-latest: library/Icingadb/Widget/Detail/CheckStatistics.php#L215
Else branch is unreachable because ternary operator condition is always true.
Static analysis for php 8.2 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.2 on ubuntu-latest: library/Icingadb/Widget/Detail/CheckStatistics.php#L215
Else branch is unreachable because ternary operator condition is always true.
Static analysis for php 7.2 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.4 on ubuntu-latest: library/Icingadb/Widget/Detail/CheckStatistics.php#L215
Else branch is unreachable because ternary operator condition is always true.
Static analysis for php 7.4 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.1 on ubuntu-latest: library/Icingadb/Widget/Detail/CheckStatistics.php#L215
Else branch is unreachable because ternary operator condition is always true.
Static analysis for php 8.1 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.3 on ubuntu-latest: library/Icingadb/Widget/Detail/CheckStatistics.php#L215
Else branch is unreachable because ternary operator condition is always true.
Static analysis for php 7.3 on ubuntu-latest
Process completed with exit code 1.