summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json15
1 files changed, 9 insertions, 6 deletions
diff --git a/composer.json b/composer.json
index 4524cf5..9996cec 100644
--- a/composer.json
+++ b/composer.json
@@ -5,12 +5,12 @@
"homepage" : "https://sabre.io/xml/",
"license" : "BSD-3-Clause",
"require" : {
- "php" : "^7.1 || ^8.0",
+ "php" : "^7.4 || ^8.0",
"ext-xmlwriter" : "*",
"ext-xmlreader" : "*",
"ext-dom" : "*",
"lib-libxml" : ">=2.6.20",
- "sabre/uri" : ">=1.0,<3.0.0"
+ "sabre/uri" : ">=2.0,<4.0.0"
},
"authors" : [
{
@@ -44,13 +44,16 @@
}
},
"require-dev": {
- "friendsofphp/php-cs-fixer": "~2.17.1",
- "phpstan/phpstan": "^0.12",
- "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.0"
+ "friendsofphp/php-cs-fixer": "^3.9",
+ "phpstan/phpstan": "^1.8",
+ "phpunit/phpunit" : "^9.0"
},
"scripts": {
"phpstan": [
- "phpstan analyse lib tests"
+ "phpstan analyse"
+ ],
+ "phpstan-baseline": [
+ "phpstan analyse --generate-baseline phpstan-baseline.neon"
],
"cs-fixer": [
"php-cs-fixer fix"