From 1c023c501cdc877e34e9d60d82a1269b8a2a61aa Mon Sep 17 00:00:00 2001 From: Martin Grossmann Date: Sun, 21 Jan 2024 12:56:00 +0100 Subject: [PATCH 1/5] bump infection tool version --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 006d8a4..c3db182 100644 --- a/Makefile +++ b/Makefile @@ -107,10 +107,10 @@ tools/deptrac: curl -Ls https://github.com/sensiolabs-de/deptrac/releases/download/1.0.2/deptrac.phar -o tools/deptrac && chmod +x tools/deptrac tools/infection: tools/infection.pubkey - curl -Ls https://github.com/infection/infection/releases/download/0.26.16/infection.phar -o tools/infection && chmod +x tools/infection + curl -Ls https://github.com/infection/infection/releases/download/0.27.9/infection.phar -o tools/infection && chmod +x tools/infection tools/infection.pubkey: - curl -Ls https://github.com/infection/infection/releases/download/0.26.16/infection.phar.pubkey -o tools/infection.pubkey + curl -Ls https://github.com/infection/infection/releases/download/0.27.9/infection.phar.pubkey -o tools/infection.pubkey tools/box: curl -Ls https://github.com/humbug/box/releases/download/3.16.0/box.phar -o tools/box && chmod +x tools/box From ad19e6d57d3249808755e8c76d6af5828d2e91ca Mon Sep 17 00:00:00 2001 From: Martin Grossmann Date: Sun, 21 Jan 2024 12:56:19 +0100 Subject: [PATCH 2/5] allow PHP 8.3 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 0ebb0df..76c64da 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "Initialises test doubles in PHPUnit test cases for you", "type": "library", "require": { - "php": "~8.1.0 || ~8.2.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "phpunit/phpunit": "^9.6", "phpdocumentor/reflection-docblock": "^5.2" }, From 67e43dddf1df5abd013407f1604e73fa8f5085b6 Mon Sep 17 00:00:00 2001 From: Martin Grossmann Date: Sun, 21 Jan 2024 12:57:06 +0100 Subject: [PATCH 3/5] infection is now run without phpdbg to avoid errors on PHP 8.3 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c3db182..d9021d2 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,7 @@ deptrac: tools/deptrac .PHONY: deptrac infection: tools/infection tools/infection.pubkey - phpdbg -qrr ./tools/infection --no-interaction --formatter=progress --min-msi=100 --min-covered-msi=100 --only-covered --ansi + ./tools/infection --no-interaction --formatter=progress --min-msi=100 --min-covered-msi=100 --ansi .PHONY: infection phpunit: tools/phpunit From 77db44e2fc40b2906bfd8dd57ee86888b0cec699 Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Mon, 22 Jan 2024 09:49:00 +0000 Subject: [PATCH 4/5] Add PHP 8.3 to the build matrix --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cda33c1..dd3725f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,10 +15,10 @@ jobs: name: Build and test strategy: matrix: - php: ['8.1', '8.2'] + php: ['8.1', '8.2', '8.3'] deps: [high] include: - - php: '8.2' + - php: '8.3' deps: low steps: From b4d43487ca075fa60364e244f5e943afef9bfe93 Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Mon, 22 Jan 2024 09:51:12 +0000 Subject: [PATCH 5/5] Enable pcov --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dd3725f..9da7a11 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: with: php-version: "${{ matrix.php }}" ini-values: "phar.readonly=0" - coverage: none + coverage: pcov - name: Test & package if: matrix.deps == 'high'