diff options
| author | Remi Collet <remi@remirepo.net> | 2026-04-28 10:27:23 +0200 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2026-04-28 10:27:23 +0200 |
| commit | d3de70706252b43895362434a1e540cc034b2b48 (patch) | |
| tree | bee2ecbc159b2226f97d645271d47df5640c887b /composer.json | |
| parent | 657c6c1b7c9d1ad72a4d427e9dbde701522ba69f (diff) | |
raise dependency on PHP 8.2
Diffstat (limited to 'composer.json')
| -rw-r--r-- | composer.json | 22 |
1 files changed, 16 insertions, 6 deletions
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" } } } |
