move phpcs-ga script from composer to linting workflow
This commit is contained in:
parent
f370f184d2
commit
7fbfec56ea
|
|
@ -58,7 +58,7 @@ jobs:
|
|||
branch: ${{ github.head_ref }}
|
||||
|
||||
- name: Check coding standards
|
||||
run: composer phpcs-ga | cs2pr
|
||||
run: composer phpcs -- -q -n --report=checkstyle | cs2pr
|
||||
|
||||
php-lint:
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@
|
|||
"scripts": {
|
||||
"php-lint": "parallel-lint --exclude vendor --exclude node_modules --exclude dist --exclude .git --exclude .phpstan-cache .",
|
||||
"phpcs": "phpcs -p",
|
||||
"phpcs-ga": "phpcs -n --report=checkstyle",
|
||||
"phpcs-fix": "phpcbf",
|
||||
"phpmd": "phpmd . ansi phpmd.xml",
|
||||
"phpmd-baseline": "@phpmd --generate-baseline",
|
||||
|
|
|
|||
Loading…
Reference in New Issue