Skip to content

Commit 33e93ad

Browse files
committed
enable phpstan in github workflow
1 parent 89d366b commit 33e93ad

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/php.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ jobs:
4242
run: "php -v"
4343
- name: "lint PHP files"
4444
run: "php -l src/ tests/"
45-
# - name: "install composer dependencies"
46-
# run: "composer install --prefer-dist --no-progress"
47-
# # PHPStan
48-
# - name: "PHPStan static analysis"
49-
# uses: "php-actions/phpstan@v3"
50-
# with:
51-
# php_version: "${{ matrix.php-version }}"
52-
# configuration: "phpstan.neon"
53-
# path: "src/ tests/"
45+
- name: "install composer dependencies"
46+
run: "composer install --prefer-dist --no-progress"
47+
# PHPStan
48+
- name: "PHPStan static analysis"
49+
uses: "php-actions/phpstan@v3"
50+
with:
51+
php_version: "${{ matrix.php-version }}"
52+
configuration: "phpstan.neon"
53+
path: "src/ tests/"
5454
# run unit tests
5555
phpunit:
5656
runs-on: "ubuntu-latest"

0 commit comments

Comments
 (0)