Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/data_request.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-04-14 13:37:33 +0300
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-04-14 14:18:29 +0300
commit1d6f2d1898d8458755945a3d9fe24686735a8af6 (patch)
treeb3c01f3408eb6fe26bdab742223d915565567089 /composer.json
parent6cbd1b50984df8a487d26bdd509f03c258a7088c (diff)
Add php-cs and bump composer
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json15
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"
}
}