summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json20
1 files changed, 14 insertions, 6 deletions
diff --git a/composer.json b/composer.json
index 48caa44..98edcd7 100644
--- a/composer.json
+++ b/composer.json
@@ -5,17 +5,20 @@
"homepage" : "https://github.com/fruux/sabre-http",
"license" : "BSD-3-Clause",
"require" : {
- "php" : "^7.1 || ^8.0",
+ "php" : "^7.4 || ^8.0",
"ext-mbstring" : "*",
"ext-ctype" : "*",
"ext-curl" : "*",
- "sabre/event" : ">=4.0 <6.0",
- "sabre/uri" : "^2.0"
+ "sabre/event" : "^6.0",
+ "sabre/uri" : "^2.3 || ^3.0"
},
"require-dev" : {
- "friendsofphp/php-cs-fixer": "~2.17.1||^3.63",
- "phpstan/phpstan": "^0.12",
- "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.6"
+ "friendsofphp/php-cs-fixer": "^3.64",
+ "phpstan/phpstan": "^1.11",
+ "phpstan/phpstan-phpunit": "^1.4",
+ "phpstan/phpstan-strict-rules": "^1.6",
+ "phpstan/extension-installer": "^1.3",
+ "phpunit/phpunit" : "^9.6"
},
"suggest" : {
"ext-curl" : " to make http requests with the Client class"
@@ -60,5 +63,10 @@
"composer cs-fixer",
"composer phpunit"
]
+ },
+ "config": {
+ "allow-plugins": {
+ "phpstan/extension-installer": true
+ }
}
}