Skip to content
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

Mute suppressed warnings #304

Open
wants to merge 1 commit into
base: v8.x
Choose a base branch
from
Open

Conversation

markhuot
Copy link

PHPUnit tracks if a warning was suppressed via the @ operator. By default the @ is honored and suppressed warnings are hidden from PHPUnit's default printer. Pest, however, does not honor the @ and shows warnings regardless of the configuration.

See: https://docs.phpunit.de/en/10.5/error-handling.html#ignoring-issue-suppression

If you find this helpful I can expand this to include all warnings, notices, and errors before this is considered/merged.

PHPUnit tracks if a warning was suppressed via the `@` operator. By default the `@` is honored and hidden from PHPUnit results. Pest, does not honor the `@` and shows warnings regardless of the configuration.

See: https://docs.phpunit.de/en/10.5/error-handling.html#ignoring-issue-suppression
@schursin
Copy link

bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants