diff options
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/composer.json b/composer.json index 2cfb538..bb703f2 100644 --- a/composer.json +++ b/composer.json @@ -1,15 +1,28 @@ { "require-dev": { - "christophwurst/nextcloud": "dev-master", + "nextcloud/coding-standard": "^0.4.0", + "nextcloud/ocp": "dev-master", "php-parallel-lint/php-parallel-lint": "^1.0", "phpunit/phpunit": "^8", - "psalm/phar": "^4.3", - "nextcloud/coding-standard": "^0.4.0" + "vimeo/psalm": "^4.27" + }, + "config": { + "optimize-autoloader": true, + "classmap-authoritative": true, + "platform": { + "php": "7.4" + }, + "sort-packages": true }, "scripts": { "lint": "parallel-lint --exclude src --exclude vendor --exclude target --exclude build .", "cs:check": "php-cs-fixer fix --dry-run --diff", "cs:fix": "php-cs-fixer fix", - "psalm": "psalm.phar" + "psalm": "psalm --threads=1" + }, + "autoload-dev": { + "psr-4": { + "OCP\\": "vendor/nextcloud/ocp/OCP" + } } } |