Skip to content

Commit 82e28ef

Browse files
committed
add PHPstan to GitHub workflow #9
1 parent bd85d5b commit 82e28ef

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,10 @@ jobs:
4545
run: "php -l src/ tests/"
4646
- name: "install composer dependencies"
4747
run: "composer install --prefer-dist --no-progress"
48+
# PHPStan
49+
- name: "PHPStan static analysis"
50+
uses: "php-actions/phpstan@v3"
51+
with:
52+
php_version: "${{ matrix.php-version }}"
53+
configuration: "phpstan.neon"
54+
path: "src/ tests/"

0 commit comments

Comments
 (0)