Skip to content

Repair PHPStan GHA #3012

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,16 @@ jobs:
run: .github/jobs/composer_setup.sh
- name: Show the phpstan version
run: webapp/vendor/phpstan/phpstan/phpstan --version
- name: Run PHPStan in the classic way
run: |
set -euo pipefail
webapp/vendor/bin/phpstan \
--configuration=webapp/phpstan.dist.neon \
| tee /tmp/artifacts/phpstan.out
# Run the test again for GHA annotations
- uses: php-actions/[email protected]
with:
configuration: webapp/phpstan.dist.neon
path: webapp/src webapp/tests
php_extensions: gd intl mysqli pcntl zip
autoload_file: webapp/vendor/autoload.php
version: composer
Expand Down
Loading