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

PHPUnit 11 | Make select methods protected #197

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Sep 6, 2024

PHPUnit 11.0 changed the visibility of a number of TestCase methods from public to protected, so the PHPUnit Polyfills should follow suit.

For the Polyfills, the only affected method is the polyfilled expectExceptionMessageMatches() method.

Refs:

PHPUnit 11.0 changed the visibility of a number of `TestCase` methods from `public` to `protected`, so the PHPUnit Polyfills should follow suit.

For the Polyfills, the only affected method is the polyfilled `expectExceptionMessageMatches()` method.

Refs:
* sebastianbergmann/phpunit 5213
* sebastianbergmann/phpunit@8b8e38e
@coveralls
Copy link

Coverage Status

coverage: 97.152%. remained the same
when pulling 1e6e5be on feature/3.x/sync-with-phpunit-11
into 62be834 on 3.x.

Copy link
Collaborator

@hellofromtonya hellofromtonya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@hellofromtonya hellofromtonya merged commit 5aa0561 into 3.x Sep 6, 2024
160 checks passed
@hellofromtonya hellofromtonya deleted the feature/3.x/sync-with-phpunit-11 branch September 6, 2024 20:14
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.

3 participants