Skip to content

Commit 5ba1048

Browse files
committed
Update coverage badge path and remove obsolete file
Updated the coverage badge file path configuration and README reference to reflect the new location. Removed the outdated `badge-coverage.svg` file from the `assets` directory to avoid redundancy.
1 parent 63811ed commit 5ba1048

File tree

3 files changed

+2
-22
lines changed

3 files changed

+2
-22
lines changed

.github/workflows/phpunit-coverage-badge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ jobs:
4242
- name: Generate test coverage badge
4343
uses: timkrase/phpunit-coverage-badge@v1.2.1
4444
with:
45-
coverage_badge_path: 'assets/badge-coverage.svg'
45+
coverage_badge_path: 'badge-coverage.svg'
4646
push_badge: true
4747
repo_token: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
![PhpStan Level](https://img.shields.io/badge/PHPStan-level%2010-brightgreen.svg)
66
[![PHPStan Checks](https://github.com/nuxtifyts/php-dto/actions/workflows/phpstan-tests.yml/badge.svg)](https://github.com/nuxtifyts/php-dto/actions/workflows/phpstan-tests.yml)
77
[![CI Tests](https://github.com/nuxtifyts/php-dto/actions/workflows/php-tests.yml/badge.svg)](https://github.com/nuxtifyts/php-dto/actions/workflows/php-tests.yml)
8-
[![Test Coverage](https://raw.githubusercontent.com/nuxtifyts/php-dto/main/assets/badge-coverage.svg)](https://packagist.org/packages/nuxtifyts/phpdto)
8+
[![Test Coverage](https://raw.githubusercontent.com/nuxtifyts/php-dto/main/badge-coverage.svg)](https://packagist.org/packages/nuxtifyts/phpdto)
99

1010
This package enabled the creation of data objects which can be used in various ways.
1111
Using modern PHP syntax, it allows you to hydrate data from arrays, objects, and other data sources.

assets/badge-coverage.svg

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)