We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f19b061 commit 435665fCopy full SHA for 435665f
.github/workflows/phpstan.yml
@@ -0,0 +1,28 @@
1
+name: PHPStan
2
+
3
+on:
4
+ push:
5
+ paths:
6
+ - '**.php'
7
+ pull_request:
8
9
10
+jobs:
11
+ phpstan:
12
+ name: phpstan
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
17
+ - name: Setup PHP
18
+ uses: shivammathur/setup-php@v2
19
+ with:
20
+ php-version: '8.4'
21
+ coverage: none
22
23
+ - name: Install dependencies
24
+ run: |
25
+ composer update --prefer-dist --no-interaction --no-suggest
26
27
+ - name: Run PHPStan
28
+ run: ./vendor/bin/phpstan --error-format=github
0 commit comments