summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json9
1 files changed, 7 insertions, 2 deletions
diff --git a/composer.json b/composer.json
index 4207e601..edba2d1a 100644
--- a/composer.json
+++ b/composer.json
@@ -5,7 +5,10 @@
"platform": {
"php": "7.4"
},
- "autoloader-suffix": "Contacts"
+ "autoloader-suffix": "Contacts",
+ "allow-plugins": {
+ "bamarni/composer-bin-plugin": true
+ }
},
"autoload": {
"psr-4": {
@@ -16,11 +19,13 @@
"cs:fix": "php-cs-fixer fix",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
+ "psalm": "psalm.phar",
"test:unit": "phpunit -c phpunit.xml --fail-on-warning",
"test:integration": "phpunit -c phpunit.integration.xml --fail-on-warning"
},
"require": {
- "php": ">=7.4 <=8.3"
+ "php": ">=7.4 <=8.3",
+ "bamarni/composer-bin-plugin": "^1.8"
},
"require-dev": {
"christophwurst/nextcloud_testing": "^0.12.4",