Skip to content

Commit ba73629

Browse files
committed
Tooling: Fixed PHP Lint master branch GitHub Actions workflow.
1 parent 8028b53 commit ba73629

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/php-lint-master.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
- uses: actions/checkout@v2
1414

1515
- name: Install dependencies
16-
run: composer install --dev --prefer-dist --no-progress --no-suggest
16+
run: |
17+
composer install --dev --prefer-dist --no-progress --no-suggest
18+
composer require --dev staabm/annotate-pull-request-from-checkstyle
1719
18-
- name: PHPCS check
19-
uses: chekalsky/phpcs-action@v1
20-
with:
21-
phpcs_bin_path: './vendor/bin/phpcs'
20+
- name: Run phpcs
21+
run: ./vendor/bin/phpcs -q --report=checkstyle | ./vendor/bin/cs2pr --graceful-warnings

0 commit comments

Comments
 (0)