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 d5ff9b4 commit 7654ed2Copy full SHA for 7654ed2
.github/workflows/phpstan.yml
@@ -0,0 +1,28 @@
1
+name: Run PHPStan
2
+on:
3
+ merge_group:
4
+ pull_request:
5
+ branches:
6
+ - main
7
+ - '[0-9]+.[0-9]+'
8
+
9
+jobs:
10
+ phpstan:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - name: Setup composer dependencies
15
+ run: .github/jobs/composer_setup.sh
16
+ - name: Show the phpstan version
17
+ run: webapp/vendor/phpstan/phpstan/phpstan --version
18
+ - uses: php-actions/[email protected]
19
+ with:
20
+ configuration: webapp/phpstan.dist.neon
21
+ path: webapp/src webapp/tests
22
+ php_extensions: gd intl mysqli pcntl zip
23
+ autoload_file: webapp/vendor/autoload.php
24
+ version: composer
25
+ - uses: actions/upload-artifact@v4
26
+ if: always()
27
28
+ path: /tmp/artifacts
0 commit comments