diff options
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/composer.json b/composer.json index 82eb3bd..7ffa444 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,18 @@ { + "name": "nextcloud/data_request", + "config": { + "optimize-autoloader": true, + "classmap-authoritative": true, + "platform": { + "php": "7.3" + } + }, "scripts": { - "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l" + "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" + }, + "require-dev": { + "nextcloud/coding-standard": "^1.0.0" } } |