summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/composer.json b/composer.json
index 24ee703d..8f8eee00 100644
--- a/composer.json
+++ b/composer.json
@@ -1,8 +1,13 @@
{
"require-dev": {
"christophwurst/nextcloud_testing": "^0.7.0"
- },
+ },
+ "config": {
+ "optimize-autoloader": true,
+ "classmap-authoritative": true
+ },
"scripts": {
+ "lint": "find . -name \\*.php -not -path './vendor/*' -exec php -l \"{}\" \\;",
"test:unit": "phpunit -c phpunit.xml --fail-on-warning",
"test:integration": "phpunit -c phpunit.integration.xml --fail-on-warning"
}