From 0570d505cc650b2f2eb0058ddf8065cd88c4441f Mon Sep 17 00:00:00 2001 From: Rob Allen Date: Thu, 9 May 2024 21:00:54 +0100 Subject: [PATCH 1/2] Update composer test target Add composer phpunit and composer phpcs to match the way that core Slim does it. --- composer.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 265e185..f2baf48 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,12 @@ } }, "scripts": { - "test": "phpunit --configuration phpunit.xml.dist", + "test": [ + "@phpcs", + "@phpunit" + ], + "phpunit": "phpunit", + "phpcs": "phpcs", "test:coverage": "phpunit --configuration phpunit.xml.dist --coverage-clover build/logs/clover.xml --coverage-html build/coverage" }, "config": { From 1f9452c0c6ae0918ca46384d98acbbd2abe4e320 Mon Sep 17 00:00:00 2001 From: Rob Allen Date: Thu, 9 May 2024 21:02:35 +0100 Subject: [PATCH 2/2] Add PHP 8.2 and 8.3 to CI --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7e9b483..1e714b1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - php: [7.4, 8.0, 8.1] + php: [7.4, 8.0, 8.1, 8.2, 8.3] include: - php: 8.1 analysis: true