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
|
run: composer update --no-progress --no-interaction --prefer-dist
|
||||||
|
|
||||||
- name: Run script
|
- name: Run script
|
||||||
run: composer phpcs
|
run: composer cs-check
|
||||||
|
|
||||||
phpstan:
|
phpstan:
|
||||||
name: PHPStan
|
name: PHPStan
|
||||||
|
@ -36,14 +36,14 @@
|
|||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
"prefer-stable": true,
|
"prefer-stable": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"csfix": [
|
"cs": [
|
||||||
"vendor/bin/php-cs-fixer fix"
|
"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": "composer normalize --no-check-lock",
|
||||||
"norm-check": "composer normalize --diff --dry-run",
|
"norm-check": "composer normalize --diff --dry-run",
|
||||||
"phpcs": [
|
|
||||||
"vendor/bin/php-cs-fixer fix --verbose --diff --dry-run"
|
|
||||||
],
|
|
||||||
"phpstan": [
|
"phpstan": [
|
||||||
"vendor/bin/phpstan analyse"
|
"vendor/bin/phpstan analyse"
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user