summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json17
1 files changed, 13 insertions, 4 deletions
diff --git a/composer.json b/composer.json
index bb4a089..1c2bf7e 100644
--- a/composer.json
+++ b/composer.json
@@ -9,7 +9,7 @@
"homepage": "http://sabre.io/uri/",
"license": "BSD-3-Clause",
"require": {
- "php": "^7.4 || ^8.0"
+ "php": "^8.2"
},
"authors": [
{
@@ -37,13 +37,13 @@
}
},
"require-dev": {
- "friendsofphp/php-cs-fixer": "^3.94",
+ "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",
- "rector/rector": "^2.3"
+ "phpunit/phpunit" : "^10.5",
+ "rector/rector": "^2.4"
},
"scripts": {
"phpstan": [
@@ -52,6 +52,12 @@
"cs-fixer": [
"php-cs-fixer fix"
],
+ "rector-check": [
+ "rector process --dry-run"
+ ],
+ "rector-fix": [
+ "rector process"
+ ],
"phpunit": [
"phpunit --configuration tests/phpunit.xml"
],
@@ -64,6 +70,9 @@
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
+ },
+ "platform": {
+ "php": "8.2"
}
}
}