From cc64898fa2798ece1fdf603c76019b6468b40c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Kochen?= Date: Wed, 18 Jan 2023 15:25:59 +0100 Subject: [PATCH 1/2] Add support for PHP 8.2 --- .github/workflows/php-checks.yml | 2 +- CHANGELOG.md | 6 ++++++ composer.json | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php-checks.yml b/.github/workflows/php-checks.yml index 9ee0a9d..08f9257 100644 --- a/.github/workflows/php-checks.yml +++ b/.github/workflows/php-checks.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: ['7.4', '8.0', '8.1'] + php-versions: ['7.4', '8.0', '8.1', '8.2'] name: PHP ${{ matrix.php-versions }} tests steps: - name: Checkout diff --git a/CHANGELOG.md b/CHANGELOG.md index c078d7b..0b3d20b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 2.0.1 + +### PHP support + +- Added support for PHP `8.2`. + ## 2.0.0 ### PHP support diff --git a/composer.json b/composer.json index 7f3071d..5a334b1 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,7 @@ }, "minimum-stability": "stable", "require": { - "php": "7.4.* || 8.0.* || 8.1.*", + "php": "7.4.* || 8.0.* || 8.1.* || 8.2.*", "ext-json": "*", "symfony/finder": "^5.0.0" }, From 8c14de1aeefbbc28ab138ce1318e4a4a7360d918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Kochen?= Date: Wed, 18 Jan 2023 15:27:09 +0100 Subject: [PATCH 2/2] Upgrade require-dev dependencies --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 5a334b1..9b3dadd 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ }, "scripts": { "phpcheck": [ - "./vendor/bin/phpstan analyse -c phpstan.neon -l max --memory-limit=1G src/ tests/", + "./vendor/bin/phpstan analyse -c phpstan.neon -l 8 --memory-limit=1G src/ tests/", "./vendor/bin/phpcs -p --standard=PSR2 --extensions=php src/ tests/" ], "phpcbf": [ @@ -45,8 +45,8 @@ "symfony/finder": "^5.0.0" }, "require-dev": { - "phpstan/phpstan": "1.2.0", - "phpunit/phpunit": "9.5.10", - "squizlabs/php_codesniffer": "3.6.2" + "phpstan/phpstan": "1.9.12", + "phpunit/phpunit": "9.5.28", + "squizlabs/php_codesniffer": "3.7.1" } }