Composer: rename phpcs to cs-check, csfix to cs
This commit is contained in:
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -83,7 +83,7 @@ jobs:
|
||||
run: composer update --no-progress --no-interaction --prefer-dist
|
||||
|
||||
- name: Run script
|
||||
run: composer phpcs
|
||||
run: composer cs-check
|
||||
|
||||
phpstan:
|
||||
name: PHPStan
|
||||
|
@ -36,14 +36,14 @@
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true,
|
||||
"scripts": {
|
||||
"csfix": [
|
||||
"cs": [
|
||||
"vendor/bin/php-cs-fixer fix"
|
||||
],
|
||||
"cs-check": [
|
||||
"vendor/bin/php-cs-fixer fix --verbose --diff --dry-run"
|
||||
],
|
||||
"norm": "composer normalize --no-check-lock",
|
||||
"norm-check": "composer normalize --diff --dry-run",
|
||||
"phpcs": [
|
||||
"vendor/bin/php-cs-fixer fix --verbose --diff --dry-run"
|
||||
],
|
||||
"phpstan": [
|
||||
"vendor/bin/phpstan analyse"
|
||||
],
|
||||
|
Reference in New Issue
Block a user