summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-10-31 15:18:54 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2023-10-31 15:18:54 +0100
commitb8542ca6334d430d751b12784ebc3775b3a389a8 (patch)
treed41b389560246e3deb1e1c638eb68b37a57f9788 /composer.json
parent1b161c28496cbe05bc2ebb65d5c898c431d131c5 (diff)
chore: Add Psalmchore/psalm
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
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",