aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/event/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/event/composer.json')
-rw-r--r--vendor/sabre/event/composer.json27
1 files changed, 23 insertions, 4 deletions
diff --git a/vendor/sabre/event/composer.json b/vendor/sabre/event/composer.json
index 144704118..181afe190 100644
--- a/vendor/sabre/event/composer.json
+++ b/vendor/sabre/event/composer.json
@@ -16,7 +16,7 @@
"homepage": "http://sabre.io/event/",
"license": "BSD-3-Clause",
"require": {
- "php": "^7.1"
+ "php": "^7.1 || ^8.0"
},
"authors": [
{
@@ -40,11 +40,30 @@
"lib/Promise/functions.php"
]
},
+ "autoload-dev": {
+ "psr-4" : {
+ "Sabre\\Event\\" : "tests/Event"
+ }
+ },
"require-dev": {
"friendsofphp/php-cs-fixer": "~2.16.1",
- "phpunit/phpunit" : "^7 || ^8"
+ "phpstan/phpstan": "^0.12",
+ "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.0"
},
- "config" : {
- "bin-dir" : "bin/"
+ "scripts": {
+ "phpstan": [
+ "phpstan analyse lib tests"
+ ],
+ "cs-fixer": [
+ "php-cs-fixer fix"
+ ],
+ "phpunit": [
+ "phpunit --configuration tests/phpunit.xml"
+ ],
+ "test": [
+ "composer phpstan",
+ "composer cs-fixer",
+ "composer phpunit"
+ ]
}
}