Skip to content

Commit a4db61c

Browse files
committed
Composer: rename some scripts
... to be in line with the names of similar scripts in other repos in this organisation.
1 parent 1a97330 commit a4db61c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/cs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
# Check the code-style consistency of the PHP files.
7272
- name: Check PHP code style
7373
continue-on-error: true
74-
run: composer check-cs -- --report-full --report-checkstyle=./phpcs-report.xml
74+
run: composer checkcs -- --report-full --report-checkstyle=./phpcs-report.xml
7575

7676
- name: Show PHPCS results in PR
7777
run: cs2pr ./phpcs-report.xml

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646
"lint": [
4747
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude .git"
4848
],
49-
"check-cs": [
49+
"checkcs": [
5050
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs"
5151
],
52-
"fix-cs": [
52+
"fixcs": [
5353
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"
5454
],
5555
"run-tests": [

0 commit comments

Comments
 (0)