diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2022-04-14 13:37:33 +0300 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-04-14 14:18:29 +0300 |
commit | 1d6f2d1898d8458755945a3d9fe24686735a8af6 (patch) | |
tree | b3c01f3408eb6fe26bdab742223d915565567089 /composer.json | |
parent | 6cbd1b50984df8a487d26bdd509f03c258a7088c (diff) |
Add php-cs and bump composer
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
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" } } |