From 0068031a5da2af5aeb2c3f6bcd1b9e7fd0dd4568 Mon Sep 17 00:00:00 2001 From: Sebastian Nohn Date: Thu, 8 Feb 2024 00:22:15 +0100 Subject: [PATCH] update to phpunit 10 --- .github/workflows/ci.yml | 2 +- composer.json | 4 ++-- phpunit.xml | 36 +++++++++++------------------------- phpunit.xml.bak | 27 +++++++++++++++++++++++++++ 4 files changed, 41 insertions(+), 28 deletions(-) create mode 100644 phpunit.xml.bak diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ee0ac3..fe38d1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.2 + php-version: 8.3 extensions: imagick coverage: xdebug tools: phpstan diff --git a/composer.json b/composer.json index 9135d16..a318f3e 100644 --- a/composer.json +++ b/composer.json @@ -16,10 +16,10 @@ "nohn/analogmeterreader": "^1.2", "php": ">=7.4", "ext-imagick": "^3.4.4", - "ext-json": ">=7.4" + "ext-json": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "^10.0" }, "support": { "issues": "https://github.com/nohn/watermeter/issues" diff --git a/phpunit.xml b/phpunit.xml index 4d242c1..6d9ded3 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,27 +1,13 @@ - - - - tests - - - - - - classes - - + + + + tests + + + + + classes + + diff --git a/phpunit.xml.bak b/phpunit.xml.bak new file mode 100644 index 0000000..4d242c1 --- /dev/null +++ b/phpunit.xml.bak @@ -0,0 +1,27 @@ + + + + + tests + + + + + + classes + + +