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.
2 parents e6b3864 + 7565a7d commit ece828dCopy full SHA for ece828d
.github/workflows/phpstan.yml
@@ -0,0 +1,26 @@
1
+name: PHPStan
2
+
3
+on:
4
+ push:
5
+ paths:
6
+ - '**.php'
7
+ - 'phpstan.neon.dist'
8
9
+jobs:
10
+ phpstan:
11
+ name: phpstan
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v3
15
16
+ - name: Setup PHP
17
+ uses: shivammathur/setup-php@v2
18
+ with:
19
+ php-version: '8.1'
20
+ coverage: none
21
22
+ - name: Install composer dependencies
23
+ uses: ramsey/composer-install@v1
24
25
+ - name: Run PHPStan
26
+ run: ./vendor/bin/phpstan --error-format=github
0 commit comments