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 8ad6432 commit 8ff3326Copy full SHA for 8ff3326
.github/workflows/phpstan.yml
@@ -0,0 +1,30 @@
1
+name: PHPStan
2
+
3
+on:
4
+ push:
5
+ paths:
6
+ - '**.php'
7
+ - 'phpstan.neon.dist'
8
9
+jobs:
10
+ phpstan:
11
+ runs-on: ubuntu-latest
12
+ timeout-minutes: 5
13
14
+ steps:
15
+ - name: Checkout code
16
+ uses: actions/checkout@v4
17
+ with:
18
+ ref: ${{ github.head_ref }}
19
20
+ - name: Setup PHP
21
+ uses: shivammathur/setup-php@v2
22
23
+ php-version: '8.1'
24
+ coverage: none
25
26
+ - name: Install composer dependencies
27
+ uses: ramsey/composer-install@v2
28
29
+ - name: Run PHPStan
30
+ run: vendor/bin/phpstan --error-format=github
phpstan.neon renamed to phpstan.neon.dist
0 commit comments