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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json11
1 files changed, 7 insertions, 4 deletions
diff --git a/composer.json b/composer.json
index 5f3db01b32c..ea99a098557 100644
--- a/composer.json
+++ b/composer.json
@@ -15,9 +15,12 @@
},
"require-dev": {
"jakub-onderka/php-parallel-lint": "^0.9.2",
- "jakub-onderka/php-console-highlighter": "^0.3.2"
+ "jakub-onderka/php-console-highlighter": "^0.3.2",
+ "nextcloud/coding-standard": "^0.1.0"
},
- "scripts": {
- "lint": "find . -name \\*.php -not -path './lib/composer/*' -exec php -l \"{}\" \\;"
- }
+ "scripts": {
+ "cs:fix": "php-cs-fixer fix",
+ "cs:check": "php-cs-fixer fix --dry-run",
+ "lint": "find . -name \\*.php -not -path './lib/composer/*' -exec php -l \"{}\" \\;"
+ }
}