From d3de70706252b43895362434a1e540cc034b2b48 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 28 Apr 2026 10:27:23 +0200 Subject: update to 6.1.0 raise dependency on PHP 8.2 --- composer.json | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index 3c2e92b..426f6f1 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "homepage": "http://sabre.io/event/", "license": "BSD-3-Clause", "require": { - "php": "^7.4 || ^8.0" + "php": "^8.2" }, "authors": [ { @@ -46,12 +46,13 @@ } }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.64", - "phpstan/phpstan": "^1.12", - "phpstan/phpstan-phpunit": "^1.4", - "phpstan/phpstan-strict-rules": "^1.6", + "friendsofphp/php-cs-fixer": "^3.95", + "phpstan/phpstan": "^2.1", + "phpstan/phpstan-phpunit": "^2.0", + "phpstan/phpstan-strict-rules": "^2.0", "phpstan/extension-installer": "^1.4", - "phpunit/phpunit" : "^9.6" + "phpunit/phpunit": "^10.5", + "rector/rector": "^2.4" }, "scripts": { "phpstan": [ @@ -60,6 +61,12 @@ "cs-fixer": [ "PHP_CS_FIXER_IGNORE_ENV=true php-cs-fixer fix" ], + "rector-check": [ + "rector process --dry-run" + ], + "rector-fix": [ + "rector process" + ], "phpunit": [ "phpunit --configuration tests/phpunit.xml" ], @@ -72,6 +79,9 @@ "config": { "allow-plugins": { "phpstan/extension-installer": true + }, + "platform": { + "php": "8.2" } } } -- cgit