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

github.com/nextcloud/photos.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.json23
1 files changed, 13 insertions, 10 deletions
diff --git a/composer.json b/composer.json
index 391ab0c6..553d690d 100644
--- a/composer.json
+++ b/composer.json
@@ -1,12 +1,15 @@
{
- "name": "nextcloud/photos",
- "description": "Lint config for nextcloud/photos",
- "license": "MIT",
- "config": {
- "optimize-autoloader": true,
- "classmap-authoritative": true
- },
- "scripts": {
- "lint": "find . -name \\*.php -not -path './vendor/*' -exec php -l \"{}\" \\;"
- }
+ "name": "nextcloud/photos",
+ "config": {
+ "optimize-autoloader": true,
+ "classmap-authoritative": true
+ },
+ "scripts": {
+ "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": "^0.3.0"
+ }
}