Skip to content

Commit 4e9c9ed

Browse files
authored
Merge pull request #8 from codebtech/chore/update-badge
Add PHP SVG badge and update badge path in BadgeComposer
2 parents 449eb32 + 38c38ea commit 4e9c9ed

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

badges/php.svg

Lines changed: 21 additions & 0 deletions
Loading

src/BadgeComposer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private function processFile(string $inputFile): void
118118
private function finalizeCoverage(): void
119119
{
120120
$totalCoverage = $this->totalCoverage / count($this->inputFiles); // Average coverage across all files
121-
$template = file_get_contents(__DIR__ . '/../badge-templates/badge.svg');
121+
$template = file_get_contents(__DIR__ . '/../template/badge.svg');
122122

123123
$template = str_replace('{{ total }}', $totalCoverage, $template);
124124

File renamed without changes.

0 commit comments

Comments
 (0)