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 36f912c commit 46e991dCopy full SHA for 46e991d
.github/workflows/static-analysis.yml
@@ -0,0 +1,18 @@
1
+name: Static Analysis
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ phpstan:
7
+ name: PHPStan
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v2
11
+ - uses: shivammathur/setup-php@v2
12
+ with:
13
+ php-version: 7.4
14
+ coverage: none
15
16
+ - run: composer install --no-interaction --prefer-dist
17
+ - run: composer create-project phpstan/phpstan temp/phpstan ^0.12 --no-progress
18
+ - run: temp/phpstan/phpstan analyse --configuration tests/phpstan.neon
tests/phpstan.neon
@@ -0,0 +1,5 @@
+parameters:
+ level: 1
+ paths:
+ - ../src
0 commit comments