Merge pull request #20209 from nextcloud/techdebt/php-cs-config
Add a shared php coding style fixer config
No related branches found
No related tags found
.php_cs.dist
0 → 100644
... | @@ -15,9 +15,12 @@ | ... | @@ -15,9 +15,12 @@ |
}, | }, | ||
"require-dev": { | "require-dev": { | ||
"jakub-onderka/php-parallel-lint": "^0.9.2", | "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": { | "scripts": { | ||
"lint": "find . -name \\*.php -not -path './lib/composer/*' -exec php -l \"{}\" \\;" | "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 \"{}\" \\;" | |||
} | |||
} | } |
composer.lock
0 → 100644
This diff is collapsed.
Please register or sign in to comment