Skip to content

Display PHPUnit deprecation warnings in log #2939

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

Conversation

williamjallen
Copy link
Collaborator

PHPUnit records the number of deprecations in the summary by default, without displaying the text of the actual deprecation warning. While this makes sense for users running PHPUnit directly, it's easy to miss in our test suite because it's embedded within the output of each test. This PR makes the deprecation warnings more obvious by printing the text to the test log.

@josephsnyder josephsnyder added this pull request to the merge queue Jun 16, 2025
Merged via the queue into Kitware:master with commit f03142e Jun 16, 2025
19 of 21 checks passed
@williamjallen williamjallen deleted the display-phpunit-deprecations branch June 16, 2025 13:28
github-merge-queue bot pushed a commit that referenced this pull request Jun 17, 2025
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