summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json22
1 files changed, 16 insertions, 6 deletions
diff --git a/composer.json b/composer.json
index 8c768a7..37f91e9 100644
--- a/composer.json
+++ b/composer.json
@@ -5,7 +5,7 @@
"homepage" : "https://github.com/fruux/sabre-http",
"license" : "BSD-3-Clause",
"require" : {
- "php" : "^7.4 || ^8.0",
+ "php" : "^8.2",
"ext-mbstring" : "*",
"ext-ctype" : "*",
"ext-curl" : "*",
@@ -13,12 +13,13 @@
"sabre/uri" : "^2.3 || ^3.0"
},
"require-dev" : {
- "friendsofphp/php-cs-fixer": "^3.87",
- "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" : "^11.5",
+ "rector/rector": "^2.4"
},
"suggest" : {
"ext-curl" : " to make http requests with the Client class"
@@ -55,6 +56,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"
],
@@ -67,6 +74,9 @@
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
+ },
+ "platform": {
+ "php": "8.2"
}
}
}