Skip to content

Commit e7c3a6a

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

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/phpstan.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@ 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: set -euxo pipefail
20+
webapp/vendor/bin/phpstan \
21+
--configuration=webapp/phpstan.dist.neon \
22+
| tee /tmp/artifacts/phpstan.out
2523
- uses: actions/upload-artifact@v4
2624
if: always()
2725
with:

0 commit comments

Comments
 (0)