Skip to content

Commit

Permalink
add PHPstan to GitHub workflow #9
Browse files Browse the repository at this point in the history
  • Loading branch information
gregor-j committed Jul 24, 2024
1 parent bd85d5b commit 82e28ef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,10 @@ jobs:
run: "php -l src/ tests/"
- name: "install composer dependencies"
run: "composer install --prefer-dist --no-progress"
# PHPStan
- name: "PHPStan static analysis"
uses: "php-actions/phpstan@v3"
with:
php_version: "${{ matrix.php-version }}"
configuration: "phpstan.neon"
path: "src/ tests/"

0 comments on commit 82e28ef

Please sign in to comment.