move phpcs-ga script from composer to linting workflow

This commit is contained in:
IanDelMar 2023-10-08 23:39:53 +02:00
parent f370f184d2
commit 7fbfec56ea
2 changed files with 1 additions and 2 deletions

View File

@ -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:

View File

@ -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",