We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 995e2de commit 9ed4a9dCopy full SHA for 9ed4a9d
src/BadgeComposer.php
@@ -5,6 +5,7 @@
5
use Exception;
6
use SimpleXMLElement;
7
use Throwable;
8
+use function array_sum;
9
use function count;
10
use function explode;
11
use function file_exists;
@@ -29,6 +30,9 @@ class BadgeComposer
29
30
private string $outputFile;
31
private string $coverageName;
32
private string $badgeTemplate = __DIR__ . '/../template/badge.svg';
33
+ /**
34
+ * @var int[]
35
+ */
36
private array $totalCoverage = [];
37
private int $totalConditionals = 0;
38
private int $coveredConditionals = 0;
0 commit comments