We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73c750d commit d2a2ffaCopy full SHA for d2a2ffa
1 file changed
.github/workflows/phpstan.yml
@@ -0,0 +1,33 @@
1
+# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
2
+
3
+name: "Update stubs"
4
+on:
5
+ pull_request:
6
+ paths:
7
+ - 'extractor/**'
8
+ - '.github/workflows/phpstan.yml'
9
+ push:
10
+ branches:
11
+ - "main"
12
13
14
15
16
+jobs:
17
+ phpstan:
18
+ name: "PHPStan"
19
+ runs-on: "ubuntu-latest"
20
+ steps:
21
+ - name: "Checkout"
22
+ uses: actions/checkout@v4
23
+ - name: "Install PHP"
24
+ uses: "shivammathur/setup-php@v2"
25
+ with:
26
+ coverage: "none"
27
+ php-version: "8.3"
28
+ - name: "Install dependencies"
29
+ run: "composer install"
30
+ working-directory: ./extractor
31
+ - name: "Run PHPStan"
32
33
+ run: "vendor/bin/phpstan"
0 commit comments