зеркало из https://github.com/nextcloud/spreed.git
Fix linter command
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
2dfb38410a
Коммит
e068bc3d09
|
@ -26,7 +26,7 @@ jobs:
|
|||
coverage: none
|
||||
|
||||
- name: Lint
|
||||
run: "find . -name \\*.php -not -path './vendor/*' -exec php -l \"{}\" \\;"
|
||||
run: composer run lint || ( echo 'Please run `composer run lint` and fix your code' && exit 1 )
|
||||
|
||||
php-cs-fixer:
|
||||
name: php-cs check
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{
|
||||
"scripts": {
|
||||
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
||||
"cs:fix": "php-cs-fixer fix"
|
||||
"cs:fix": "php-cs-fixer fix",
|
||||
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l"
|
||||
},
|
||||
"require-dev": {
|
||||
"nextcloud/coding-standard": "^0.3.0"
|
||||
|
|
Загрузка…
Ссылка в новой задаче