Composer: rename phpcs to cs-check, csfix to cs

This commit is contained in:
2021-01-23 00:32:39 +03:00
parent b87c691eb3
commit fb7857291e
2 changed files with 5 additions and 5 deletions

View File

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

View File

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