Skip to content

Commit 6369e47

Browse files
committed
Debug why PHPStan doesn't detect errors
1 parent 9b62ef2 commit 6369e47

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/phpstan.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@ jobs:
1515
run: .github/jobs/composer_setup.sh
1616
- name: Show the phpstan version
1717
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
18+
- name: Run PHPStan in the classic way
19+
run: |
20+
set -euo pipefail
21+
webapp/vendor/bin/phpstan \
22+
--configuration=webapp/phpstan.dist.neon \
23+
| tee /tmp/artifacts/phpstan.out
2524
- uses: actions/upload-artifact@v4
2625
if: always()
2726
with:

0 commit comments

Comments
 (0)