From 5ba5d2e3faf23306bd9f6523666d56b5f6c44677 Mon Sep 17 00:00:00 2001 From: Gregor Date: Fri, 5 Apr 2024 18:54:43 +0200 Subject: [PATCH 1/3] set new PHP version requirements in composer.json #9 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ce990af..8bd87c2 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ } }, "require": { - "php": "^7.2" + "php": "^7.4|^8.1" }, "require-dev": { "phpunit/phpunit": "^8.5" From 04aedd9c6a03dc61593e7603032aa04973328578 Mon Sep 17 00:00:00 2001 From: Gregor Date: Fri, 5 Apr 2024 18:56:07 +0200 Subject: [PATCH 2/3] remove PHP 7.2 from GitHub workflow and add 8.1 ... 8.3 #9 --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8376273..6b70e33 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,8 +24,10 @@ jobs: strategy: matrix: php_version: - - "7.2" - "7.4" + - "8.1" + - "8.2" + - "8.3" env: CC_TEST_REPORTER_ID: "c8bc13b8787c6de68ae094688dec7fd7bb3a14445d560194b5785fae2623d489" From 145053ab37dc3f59b156f87dcc648166337362a5 Mon Sep 17 00:00:00 2001 From: Gregor Date: Fri, 5 Apr 2024 19:02:24 +0200 Subject: [PATCH 3/3] update PHPUnit to v9 and migrate phpunit.xml #9 --- composer.json | 6 +++--- phpunit.xml | 22 +++++++++++----------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/composer.json b/composer.json index 8bd87c2..7c87706 100644 --- a/composer.json +++ b/composer.json @@ -23,10 +23,10 @@ "require": { "php": "^7.4|^8.1" }, - "require-dev": { - "phpunit/phpunit": "^8.5" - }, "scripts": { "tests": "vendor/bin/phpunit" + }, + "require-dev": { + "phpunit/phpunit": "^9.6" } } diff --git a/phpunit.xml b/phpunit.xml index 0ab64f3..3b6ba16 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,13 +1,13 @@ - - - - tests/ - - - - - src/ - - + + + + src/ + + + + + tests/ + +