From 73b036c8703c02af20b6e715d4e6787ad6ec0490 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Feb 2026 22:46:19 +0000 Subject: [PATCH 1/3] Initial plan From d8908d4a14ee4d021571bb7acdf7221628f496ad Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Feb 2026 22:47:52 +0000 Subject: [PATCH 2/3] chore: migrate from Coveralls to Codecov Co-authored-by: BenMorel <1952838+BenMorel@users.noreply.github.com> --- .github/workflows/ci.yml | 10 ++++------ README.md | 2 +- composer.json | 3 +-- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa81a37..3e02d16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,13 +41,11 @@ jobs: if: ${{ matrix.php-version != env.COVERAGE_PHP_VERSION }} - name: Run PHPUnit with coverage - run: | - mkdir -p mkdir -p build/logs - vendor/bin/phpunit --coverage-clover build/logs/clover.xml + run: vendor/bin/phpunit --coverage-clover clover.xml if: ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }} - - name: Upload coverage report to Coveralls - run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v5 env: - COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} if: ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }} diff --git a/README.md b/README.md index f7e8545..df71ff4 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Brick\Std An attempt at a standard library for PHP. [![Build Status](https://github.com/brick/std/workflows/CI/badge.svg)](https://github.com/brick/std/actions) -[![Coverage Status](https://coveralls.io/repos/github/brick/std/badge.svg?branch=master)](https://coveralls.io/github/brick/std?branch=master) + [![Latest Stable Version](https://poser.pugx.org/brick/std/v/stable)](https://packagist.org/packages/brick/std) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](http://opensource.org/licenses/MIT) diff --git a/composer.json b/composer.json index 0f7f2b7..93018eb 100644 --- a/composer.json +++ b/composer.json @@ -13,8 +13,7 @@ "require-dev": { "ext-curl": "*", "ext-json": "*", - "phpunit/phpunit": "^9.0", - "php-coveralls/php-coveralls": "^2.2" + "phpunit/phpunit": "^9.0" }, "suggest": { "ext-json": "Required to use JsonEncoder and JsonDecoder" From 4eda4ffaee94e3be9c62b1a6feee5e10f5ba05de Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 27 Feb 2026 00:28:56 +0000 Subject: [PATCH 3/3] fix: use markdown syntax for Codecov badge in README Co-authored-by: BenMorel <1952838+BenMorel@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e3fb084..b4ce9f8 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Brick\Std An attempt at a standard library for PHP. [![Build Status](https://github.com/brick/std/workflows/CI/badge.svg)](https://github.com/brick/std/actions) - +[![Coverage Status](https://codecov.io/github/brick/std/graph/badge.svg)](https://codecov.io/github/brick/std) [![Latest Stable Version](https://poser.pugx.org/brick/std/v/stable)](https://packagist.org/packages/brick/std) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](http://opensource.org/licenses/MIT)