Skip to content

Commit 1d87cb9

Browse files
committed
Add phpstan check
1 parent 9ade9ec commit 1d87cb9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/phptest.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ jobs:
1616
- name: Cancel Previous Runs
1717
uses: styfle/[email protected]
1818
with:
19-
access_token: ${{ github.token }}
19+
access_token: ${{ github.token }}
20+
2021
- name: Checkout
2122
uses: actions/checkout@v2
2223

@@ -38,7 +39,11 @@ jobs:
3839
3940
- name: PHPLint
4041
run: |
41-
./vendor/bin/phpcs --standard=phpcs.xml --extensions=php --ignore=tests/migrations config/ src/
42+
./vendor/bin/phpcs
43+
44+
- name: PHPStan
45+
run: |
46+
./vendor/bin/phpstan analyse
4247
4348
- name: Upload to codecov
4449
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)