Skip to content

Move PHPUnit's "display warnings" from CLI to configuration #6855

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
Mar 18, 2025

Conversation

morozov
Copy link
Member

@morozov morozov commented Mar 18, 2025

Currently, PHPUnit displays warnings when tests are run on GitHub Actions but not via the CLI using the default phpunit.xml.dist or on Appveyor.

This is annoying for local development since if a test suite has triggered warnings but hasn't triggered errors or failures, visually it looks almost like it passed (the yellow footer), and only the exit code indicates that it failed.

@morozov morozov added this to the 4.2.4 milestone Mar 18, 2025
@morozov morozov marked this pull request as ready for review March 18, 2025 03:40
@morozov morozov requested a review from greg0ire March 18, 2025 03:41
@morozov morozov merged commit 738e014 into doctrine:4.2.x Mar 18, 2025
64 checks passed
@morozov morozov deleted the phpunit-display-warnings branch March 18, 2025 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants