summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json13
1 files changed, 11 insertions, 2 deletions
diff --git a/composer.json b/composer.json
index 19a62a7..765b05c 100644
--- a/composer.json
+++ b/composer.json
@@ -8,17 +8,26 @@
"email": "info@frankdejonge.nl"
}
],
+ "scripts": {
+ "phpstan": "vendor/bin/phpstan analyse -l 6 src"
+ },
"require": {
"php": "^7.2 || ^8.0",
"ext-fileinfo": "*"
},
"require-dev": {
- "phpunit/phpunit": "^8.5.8",
- "phpstan/phpstan": "^0.12.36"
+ "phpunit/phpunit": "^8.5.8 || ^9.3",
+ "phpstan/phpstan": "^0.12.68",
+ "friendsofphp/php-cs-fixer": "^2.18"
},
"autoload": {
"psr-4": {
"League\\MimeTypeDetection\\": "src"
}
+ },
+ "config": {
+ "platform": {
+ "php": "7.2.0"
+ }
}
}