Skip to content

Commit 693a255

Browse files
Run phpcs from vendor, not GitHub installed version
1 parent 80574d5 commit 693a255

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/php.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
with:
5151
# Should be the higest supported version, so we can use the newest tools
5252
php-version: '8.4'
53-
tools: composer, composer-require-checker, composer-unused, phpcs, phpstan
53+
tools: composer, composer-require-checker, composer-unused
5454
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, pdo, posix, spl, xml
5555

5656
- name: Setup problem matchers for PHP
@@ -81,7 +81,8 @@ jobs:
8181
run: composer-unused
8282

8383
- name: PHP Code Sniffer
84-
run: phpcs
84+
run: |
85+
vendor/bin/phpcs
8586
8687
- name: PHPStan
8788
run: |

0 commit comments

Comments
 (0)