From a63d3c872ffa7db8026fa0423633b4add4bf7724 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Wed, 12 Aug 2026 10:03:03 +0100 Subject: [PATCH 1/5] Add Laravel 12 and 13 support and automated releases Requires PHP 8.2+, updates the test matrix, publishes GitHub releases on version tags, and fixes the changelog workflow to target the release branch. Co-Authored-By: Claude Fable 5 --- .github/workflows/fix-code-styling.yml | 2 +- .github/workflows/release.yml | 22 +++++++++++++++++++++ .github/workflows/run-tests.yml | 27 ++++++++++++++++++-------- .github/workflows/update-changelog.yml | 11 +++++++---- CHANGELOG.md | 3 +++ README.md | 5 +++-- composer.json | 14 ++++++------- 7 files changed, 62 insertions(+), 22 deletions(-) create mode 100644 .github/workflows/release.yml create mode 100644 CHANGELOG.md diff --git a/.github/workflows/fix-code-styling.yml b/.github/workflows/fix-code-styling.yml index bb07cf3..dfbe75e 100644 --- a/.github/workflows/fix-code-styling.yml +++ b/.github/workflows/fix-code-styling.yml @@ -3,7 +3,7 @@ name: "Fix Code Styling" on: push: branches: - - master + - '*.x' jobs: lint: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..f2f9c66 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,22 @@ +name: "Publish Release" + +on: + push: + tags: + - 'v*' + +permissions: + contents: write + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Publish release + uses: softprops/action-gh-release@v2 + with: + generate_release_notes: true diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 8c108e6..19234b8 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,6 +1,10 @@ name: run-tests -on: [push, pull_request] +on: + push: + branches: + - '*.x' + pull_request: jobs: test: @@ -9,20 +13,27 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.2, 8.1] - laravel: [10.*] + php: [8.2, 8.3, 8.4] + laravel: [12.*, 13.*] stability: [prefer-lowest, prefer-stable] include: - - laravel: 10.* - testbench: 8.* - pest: ^2.13 - pest_laravel: ^2.0 + - laravel: 12.* + testbench: 10.* + pest: ^3.0 + pest_laravel: ^3.0 + - laravel: 13.* + testbench: 11.* + pest: ^4.0 + pest_laravel: ^4.0 + exclude: + - laravel: 13.* + php: 8.2 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index 74f8889..06d742d 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -8,11 +8,14 @@ jobs: update: runs-on: ubuntu-latest + permissions: + contents: write + steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: - ref: main + ref: ${{ github.event.release.target_commitish }} - name: Update Changelog uses: stefanzweifel/changelog-updater-action@v1 @@ -21,8 +24,8 @@ jobs: release-notes: ${{ github.event.release.body }} - name: Commit updated CHANGELOG - uses: stefanzweifel/git-auto-commit-action@v4.16.0 + uses: stefanzweifel/git-auto-commit-action@v5 with: - branch: main + branch: ${{ github.event.release.target_commitish }} commit_message: Update CHANGELOG file_pattern: CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e70d671 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +# Changelog + +All notable changes to `cachethq/badger` will be documented in this file. diff --git a/README.md b/README.md index 39e5f5f..61ac32a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ An SVG badge generator for Laravel. ## Installation -This version requires [PHP](https://php.net) 8.2 and Laravel 11.0 and above. For older versions of PHP or Laravel, check out the [3.x](https://github.com/cachethq/badger/tree/3.x) branch. +This version requires [PHP](https://php.net) 8.2 and Laravel 12.0 and above. For older versions of PHP or Laravel, check out the [4.x](https://github.com/cachethq/badger/tree/4.x) branch. To get the latest version, simply require the project using [Composer](https://getcomposer.org): @@ -46,12 +46,13 @@ The first parameter is the subject, or what it is the badge is showing. In the e - `grey` - `lightgray` -And finally the fourth parameter is the badge type. This determines the style of the badge and can be one of the four values below. +And finally the fourth parameter is the badge type. This determines the style of the badge and can be one of the five values below. - `flat-square` (default) - `plastic-flat`, `flat` - `plastic` - `social` (without links) +- `for-the-badge` ## Security diff --git a/composer.json b/composer.json index 2c06f46..c184969 100644 --- a/composer.json +++ b/composer.json @@ -14,14 +14,14 @@ } ], "require": { - "php": "^8.0", - "illuminate/contracts": "^8.0|^9.0|^10.0", - "illuminate/support": "^8.0|^9.0|^10.0" + "php": "^8.2", + "illuminate/contracts": "^12.0|^13.0", + "illuminate/support": "^12.0|^13.0" }, "require-dev": { - "orchestra/testbench": "^8.8", - "pestphp/pest": "^2.13", - "pestphp/pest-plugin-laravel": "^2.2" + "orchestra/testbench": "^10.0|^11.0", + "pestphp/pest": "^3.0|^4.0", + "pestphp/pest-plugin-laravel": "^3.0|^4.0" }, "autoload": { "psr-4": { @@ -44,7 +44,7 @@ }, "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-5.x": "5.0-dev" }, "laravel": { "providers": [ From 279a590e2e3d145c4208d5870d6a69a7390151d4 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Wed, 12 Aug 2026 10:03:03 +0100 Subject: [PATCH 2/5] Add for-the-badge style Also make implicitly nullable parameters explicit for PHP 8.4+. Co-Authored-By: Claude Fable 5 --- resources/templates/for-the-badge.svg | 12 ++++ src/Badge.php | 2 +- src/Badger.php | 2 +- src/BadgerServiceProvider.php | 2 + src/Calculator/GDTextSizeCalculator.php | 2 +- .../TextSizeCalculatorInterface.php | 2 +- src/Render/AbstractRender.php | 2 +- src/Render/ForTheBadgeRender.php | 69 +++++++++++++++++++ ...render_alt_three_awesome_bright_green.snap | 12 ++++ .../it_can_render_alt_three_dead_red.snap | 12 ++++ tests/Render/ForTheBadgeRenderTest.php | 28 ++++++++ 11 files changed, 140 insertions(+), 5 deletions(-) create mode 100644 resources/templates/for-the-badge.svg create mode 100644 src/Render/ForTheBadgeRender.php create mode 100644 tests/.pest/snapshots/Render/ForTheBadgeRenderTest/it_can_render_alt_three_awesome_bright_green.snap create mode 100644 tests/.pest/snapshots/Render/ForTheBadgeRenderTest/it_can_render_alt_three_dead_red.snap create mode 100644 tests/Render/ForTheBadgeRenderTest.php diff --git a/resources/templates/for-the-badge.svg b/resources/templates/for-the-badge.svg new file mode 100644 index 0000000..6ca9755 --- /dev/null +++ b/resources/templates/for-the-badge.svg @@ -0,0 +1,12 @@ + + + + + + + {{ vendor }} + {{ vendor }} + {{ value }} + {{ value }} + + diff --git a/src/Badge.php b/src/Badge.php index 99ed9ff..9dfe043 100755 --- a/src/Badge.php +++ b/src/Badge.php @@ -56,7 +56,7 @@ class Badge * * @throws \Cachet\Badger\Exceptions\InvalidHexColorException */ - public function __construct(string $subject, string $status, string $color, string $format = null) + public function __construct(string $subject, string $status, string $color, ?string $format = null) { $this->subject = htmlspecialchars($subject, ENT_XML1, 'UTF-8'); $this->status = htmlspecialchars($status, ENT_XML1, 'UTF-8'); diff --git a/src/Badger.php b/src/Badger.php index ca26d4a..614d0b2 100755 --- a/src/Badger.php +++ b/src/Badger.php @@ -19,7 +19,7 @@ class Badger * * @param \Cachet\Badger\Render\RenderInterface[] $renderers */ - public function __construct(array $renderers = null) + public function __construct(?array $renderers = null) { foreach ($renderers as $renderer) { $this->addRenderFormat($renderer); diff --git a/src/BadgerServiceProvider.php b/src/BadgerServiceProvider.php index 6f19b55..bee8b21 100755 --- a/src/BadgerServiceProvider.php +++ b/src/BadgerServiceProvider.php @@ -5,6 +5,7 @@ use Cachet\Badger\Calculator\GDTextSizeCalculator; use Cachet\Badger\Calculator\TextSizeCalculatorInterface; use Cachet\Badger\Render\FlatSquareRender; +use Cachet\Badger\Render\ForTheBadgeRender; use Cachet\Badger\Render\PlasticFlatRender; use Cachet\Badger\Render\PlasticRender; use Cachet\Badger\Render\SocialRender; @@ -49,6 +50,7 @@ protected function registerBadger(): void new PlasticRender($calculator, $path), new PlasticFlatRender($calculator, $path), new FlatSquareRender($calculator, $path), + new ForTheBadgeRender($calculator, $path), new SocialRender($calculator, $path), ]; diff --git a/src/Calculator/GDTextSizeCalculator.php b/src/Calculator/GDTextSizeCalculator.php index 3782af8..e2003c9 100755 --- a/src/Calculator/GDTextSizeCalculator.php +++ b/src/Calculator/GDTextSizeCalculator.php @@ -20,7 +20,7 @@ public function __construct(string $path) /** * Calculate the width of the text box. */ - public function calculateWidth(string $text, int $size = null): float + public function calculateWidth(string $text, ?int $size = null): float { $size = round(($size ?: static::TEXT_SIZE) * 0.75, 1); $box = imagettfbbox($size, 0, $this->path, $text); diff --git a/src/Calculator/TextSizeCalculatorInterface.php b/src/Calculator/TextSizeCalculatorInterface.php index e5d1706..296ebb7 100755 --- a/src/Calculator/TextSizeCalculatorInterface.php +++ b/src/Calculator/TextSizeCalculatorInterface.php @@ -28,5 +28,5 @@ interface TextSizeCalculatorInterface /** * Calculate the width of the text box. */ - public function calculateWidth(string $text, int $size = null): float; + public function calculateWidth(string $text, ?int $size = null): float; } diff --git a/src/Render/AbstractRender.php b/src/Render/AbstractRender.php index df36ffc..ea4b115 100755 --- a/src/Render/AbstractRender.php +++ b/src/Render/AbstractRender.php @@ -26,7 +26,7 @@ abstract class AbstractRender implements RenderInterface /** * Create a new svg render instance. */ - public function __construct(TextSizeCalculatorInterface $calculator, string $path, string $color = null) + public function __construct(TextSizeCalculatorInterface $calculator, string $path, ?string $color = null) { $this->calculator = $calculator; $this->path = $path; diff --git a/src/Render/ForTheBadgeRender.php b/src/Render/ForTheBadgeRender.php new file mode 100644 index 0000000..ea090ca --- /dev/null +++ b/src/Render/ForTheBadgeRender.php @@ -0,0 +1,69 @@ +subject()); + $status = mb_strtoupper($badge->status()); + + $subjectWidth = $this->sectionWidth($subject); + $statusWidth = $this->sectionWidth($status); + + $params = [ + 'vendorWidth' => $subjectWidth, + 'valueWidth' => $statusWidth, + 'totalWidth' => $subjectWidth + $statusWidth, + 'vendorColor' => $this->color, + 'valueColor' => $badge->hexColor(), + 'vendor' => $subject, + 'value' => $status, + 'vendorStartPosition' => round($subjectWidth / 2, 1) + 1, + 'valueStartPosition' => $subjectWidth + round($statusWidth / 2, 1) - 1, + ]; + + return $this->renderSvg($params, $badge->format()); + } + + /** + * Calculate the width of a badge section, accounting for letter spacing and padding. + */ + protected function sectionWidth(string $text): float + { + return $this->stringWidth($text) + (mb_strlen($text) * self::LETTER_SPACING) + self::EXTRA_PADDING; + } + + /** + * Returns the template contents. + */ + protected function getTemplate(): string + { + return 'for-the-badge.svg'; + } +} diff --git a/tests/.pest/snapshots/Render/ForTheBadgeRenderTest/it_can_render_alt_three_awesome_bright_green.snap b/tests/.pest/snapshots/Render/ForTheBadgeRenderTest/it_can_render_alt_three_awesome_bright_green.snap new file mode 100644 index 0000000..8f80293 --- /dev/null +++ b/tests/.pest/snapshots/Render/ForTheBadgeRenderTest/it_can_render_alt_three_awesome_bright_green.snap @@ -0,0 +1,12 @@ + + + + + + + ALT THREE + ALT THREE + AWESOME + AWESOME + + diff --git a/tests/.pest/snapshots/Render/ForTheBadgeRenderTest/it_can_render_alt_three_dead_red.snap b/tests/.pest/snapshots/Render/ForTheBadgeRenderTest/it_can_render_alt_three_dead_red.snap new file mode 100644 index 0000000..f778ab5 --- /dev/null +++ b/tests/.pest/snapshots/Render/ForTheBadgeRenderTest/it_can_render_alt_three_dead_red.snap @@ -0,0 +1,12 @@ + + + + + + + ALT THREE + ALT THREE + DEAD + DEAD + + diff --git a/tests/Render/ForTheBadgeRenderTest.php b/tests/Render/ForTheBadgeRenderTest.php new file mode 100644 index 0000000..4a4354b --- /dev/null +++ b/tests/Render/ForTheBadgeRenderTest.php @@ -0,0 +1,28 @@ +getSupportedFormats())->toMatchArray(['for-the-badge']); +}); + +it('can render alt three awesome bright green', function () { + $svgRender = getSvgRenderer(ForTheBadgeRender::class); + $badge = new Badge('Alt Three', 'Awesome', 'brightgreen', 'svg'); + $badgeImage = $svgRender->render($badge); + + expect($badgeImage)->toMatchSnapshot(); + expect($badgeImage->getFormat())->toBe('svg'); +}); + +it('can render alt three dead red', function () { + $svgRender = getSvgRenderer(ForTheBadgeRender::class); + $badge = new Badge('Alt Three', 'Dead', 'red', 'svg'); + $badgeImage = $svgRender->render($badge); + + expect($badgeImage)->toMatchSnapshot(); + expect($badgeImage->getFormat())->toBe('svg'); +}); From 00a8eee08d37998141893fb8275250b8600550c6 Mon Sep 17 00:00:00 2001 From: jbrooksuk <246103+jbrooksuk@users.noreply.github.com> Date: Wed, 12 Aug 2026 09:03:25 +0000 Subject: [PATCH 3/5] Fix code styling --- src/Badge.php | 4 ++-- src/Badger.php | 6 +++--- tests/TestCase.php | 11 +++++++---- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/Badge.php b/src/Badge.php index 9dfe043..d444893 100755 --- a/src/Badge.php +++ b/src/Badge.php @@ -54,7 +54,7 @@ class Badge /** * Create a new badge instance. * - * @throws \Cachet\Badger\Exceptions\InvalidHexColorException + * @throws InvalidHexColorException */ public function __construct(string $subject, string $status, string $color, ?string $format = null) { @@ -75,7 +75,7 @@ public function __construct(string $subject, string $status, string $color, ?str */ public static function fromString(string $format): Badge { - if (preg_match('/^(([^-]|--)+)-(([^-]|--)+)-(([^-]|--)+)\.(svg|png|gif|jpg)$/', $format, $match) === false && (7 != count($match))) { + if (preg_match('/^(([^-]|--)+)-(([^-]|--)+)-(([^-]|--)+)\.(svg|png|gif|jpg)$/', $format, $match) === false && (count($match) != 7)) { throw new InvalidArgumentException('The given format string is invalid: '.$format); } diff --git a/src/Badger.php b/src/Badger.php index 614d0b2..8e268f1 100755 --- a/src/Badger.php +++ b/src/Badger.php @@ -10,14 +10,14 @@ class Badger /** * The available renderers. * - * @var \Cachet\Badger\Render\RenderInterface[] + * @var RenderInterface[] */ protected array $renderers; /** * Create a new badger instance. * - * @param \Cachet\Badger\Render\RenderInterface[] $renderers + * @param RenderInterface[] $renderers */ public function __construct(?array $renderers = null) { @@ -61,7 +61,7 @@ protected function addRenderFormat(RenderInterface $renderer): void /** * Returns the renderer for the given format. * - * @throws \Cachet\Badger\Exceptions\InvalidRendererException + * @throws InvalidRendererException */ protected function getRendererForFormat(string $format): RenderInterface { diff --git a/tests/TestCase.php b/tests/TestCase.php index 1a033a7..d7f927b 100755 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -2,6 +2,9 @@ namespace Cachet\Tests\Badger; +use Illuminate\Foundation\Application; +use Illuminate\Support\Facades\Facade; +use Illuminate\Support\ServiceProvider; use Orchestra\Testbench\TestCase as Orchestra; abstract class TestCase extends Orchestra @@ -9,8 +12,8 @@ abstract class TestCase extends Orchestra /** * Get package providers. * - * @param \Illuminate\Foundation\Application $app - * @return array> + * @param Application $app + * @return array> */ protected function getPackageProviders($app) { @@ -22,8 +25,8 @@ protected function getPackageProviders($app) /** * Override application aliases. * - * @param \Illuminate\Foundation\Application $app - * @return array> + * @param Application $app + * @return array> */ protected function getPackageAliases($app) { From 84e4d2c428f4c3b8c50124c2b4871683818edb11 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Wed, 12 Aug 2026 10:13:56 +0100 Subject: [PATCH 4/5] Address review feedback Preserve XML entities when uppercasing for-the-badge text, and fold the changelog update into the release workflow since GITHUB_TOKEN -created releases never trigger release-event workflows. Co-Authored-By: Claude Fable 5 --- .github/workflows/release.yml | 39 ++++++++++++++++++++++++++ .github/workflows/update-changelog.yml | 31 -------------------- src/Render/ForTheBadgeRender.php | 16 +++++++++-- tests/Render/ForTheBadgeRenderTest.php | 9 ++++++ 4 files changed, 62 insertions(+), 33 deletions(-) delete mode 100644 .github/workflows/update-changelog.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f2f9c66..e76727e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,8 +15,47 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Determine release branch + id: branch + run: | + branch=$(git branch -r --contains "$GITHUB_SHA" --format='%(refname:short)' | sed 's#^origin/##' | grep -E '^[0-9]+\.x$' | head -n1) + if [ -z "$branch" ]; then + echo "Could not find a release branch containing $GITHUB_SHA" >&2 + exit 1 + fi + echo "branch=$branch" >> "$GITHUB_OUTPUT" - name: Publish release uses: softprops/action-gh-release@v2 with: generate_release_notes: true + + - name: Fetch release notes + id: notes + env: + GH_TOKEN: ${{ github.token }} + run: | + { + echo 'body<> "$GITHUB_OUTPUT" + + - name: Switch to release branch + run: git checkout ${{ steps.branch.outputs.branch }} + + - name: Update Changelog + uses: stefanzweifel/changelog-updater-action@v1 + with: + latest-version: ${{ github.ref_name }} + release-notes: ${{ steps.notes.outputs.body }} + + - name: Commit updated CHANGELOG + uses: stefanzweifel/git-auto-commit-action@v5 + with: + branch: ${{ steps.branch.outputs.branch }} + commit_message: Update CHANGELOG + file_pattern: CHANGELOG.md diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml deleted file mode 100644 index 06d742d..0000000 --- a/.github/workflows/update-changelog.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: "Update Changelog" - -on: - release: - types: [released] - -jobs: - update: - runs-on: ubuntu-latest - - permissions: - contents: write - - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - ref: ${{ github.event.release.target_commitish }} - - - name: Update Changelog - uses: stefanzweifel/changelog-updater-action@v1 - with: - latest-version: ${{ github.event.release.name }} - release-notes: ${{ github.event.release.body }} - - - name: Commit updated CHANGELOG - uses: stefanzweifel/git-auto-commit-action@v5 - with: - branch: ${{ github.event.release.target_commitish }} - commit_message: Update CHANGELOG - file_pattern: CHANGELOG.md diff --git a/src/Render/ForTheBadgeRender.php b/src/Render/ForTheBadgeRender.php index ea090ca..4338a28 100644 --- a/src/Render/ForTheBadgeRender.php +++ b/src/Render/ForTheBadgeRender.php @@ -30,8 +30,8 @@ public function getSupportedFormats(): array */ public function render(Badge $badge): BadgeImage { - $subject = mb_strtoupper($badge->subject()); - $status = mb_strtoupper($badge->status()); + $subject = $this->uppercase($badge->subject()); + $status = $this->uppercase($badge->status()); $subjectWidth = $this->sectionWidth($subject); $statusWidth = $this->sectionWidth($status); @@ -51,6 +51,18 @@ public function render(Badge $badge): BadgeImage return $this->renderSvg($params, $badge->format()); } + /** + * Uppercase already XML-escaped text without corrupting its entities. + */ + protected function uppercase(string $text): string + { + return htmlspecialchars( + mb_strtoupper(htmlspecialchars_decode($text, ENT_XML1)), + ENT_XML1, + 'UTF-8' + ); + } + /** * Calculate the width of a badge section, accounting for letter spacing and padding. */ diff --git a/tests/Render/ForTheBadgeRenderTest.php b/tests/Render/ForTheBadgeRenderTest.php index 4a4354b..833b7b9 100644 --- a/tests/Render/ForTheBadgeRenderTest.php +++ b/tests/Render/ForTheBadgeRenderTest.php @@ -18,6 +18,15 @@ expect($badgeImage->getFormat())->toBe('svg'); }); +it('uppercases text without corrupting xml entities', function () { + $svgRender = getSvgRenderer(ForTheBadgeRender::class); + $badge = new Badge('R&D', 'Arender($badge); + + expect((string) $badgeImage)->toContain('R&D'); + expect((string) $badgeImage)->toContain('A<B'); +}); + it('can render alt three dead red', function () { $svgRender = getSvgRenderer(ForTheBadgeRender::class); $badge = new Badge('Alt Three', 'Dead', 'red', 'svg'); From 0006d174200f4a6108cf389227541ee3015b1319 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Wed, 12 Aug 2026 10:16:20 +0100 Subject: [PATCH 5/5] Regenerate for-the-badge snapshots with CI font metrics The snapshots were generated on macOS, whose GD/FreeType measures text a couple of pixels differently to the ubuntu runners. Co-Authored-By: Claude Fable 5 --- ..._can_render_alt_three_awesome_bright_green.snap | 14 +++++++------- .../it_can_render_alt_three_dead_red.snap | 12 ++++++------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/tests/.pest/snapshots/Render/ForTheBadgeRenderTest/it_can_render_alt_three_awesome_bright_green.snap b/tests/.pest/snapshots/Render/ForTheBadgeRenderTest/it_can_render_alt_three_awesome_bright_green.snap index 8f80293..fc3a02c 100644 --- a/tests/.pest/snapshots/Render/ForTheBadgeRenderTest/it_can_render_alt_three_awesome_bright_green.snap +++ b/tests/.pest/snapshots/Render/ForTheBadgeRenderTest/it_can_render_alt_three_awesome_bright_green.snap @@ -1,12 +1,12 @@ - + - - + + - ALT THREE - ALT THREE - AWESOME - AWESOME + ALT THREE + ALT THREE + AWESOME + AWESOME diff --git a/tests/.pest/snapshots/Render/ForTheBadgeRenderTest/it_can_render_alt_three_dead_red.snap b/tests/.pest/snapshots/Render/ForTheBadgeRenderTest/it_can_render_alt_three_dead_red.snap index f778ab5..e941c25 100644 --- a/tests/.pest/snapshots/Render/ForTheBadgeRenderTest/it_can_render_alt_three_dead_red.snap +++ b/tests/.pest/snapshots/Render/ForTheBadgeRenderTest/it_can_render_alt_three_dead_red.snap @@ -1,12 +1,12 @@ - - + + - ALT THREE - ALT THREE - DEAD - DEAD + ALT THREE + ALT THREE + DEAD + DEAD