Skip to content

Commit

Permalink
Support zero coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankGiesecke committed Apr 20, 2021
1 parent 8d94808 commit 7970e47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.2-cli-alpine3.9
FROM php:7.4-cli-alpine3.13

LABEL maintainer="[email protected]"

Expand Down
4 changes: 1 addition & 3 deletions coverage-check/coverage-check
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
$reportFile = $argv[1];
$limit = min(100.0, max(0.0, (float)$argv[2]));

if (!$limit
|| !file_exists($reportFile)
) {
if (!file_exists($reportFile)) {
echo <<<'USAGE'
Coverage Check
Expand Down

0 comments on commit 7970e47

Please sign in to comment.