Yoast / PHPUnit-Polyfills

Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests
BSD 3-Clause "New" or "Revised" License
173 stars 13 forks source link

PHPUnit 11 | Make select methods `protected` #197

Closed jrfnl closed 2 months ago

jrfnl commented 2 months ago

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:

coveralls commented 2 months ago

Coverage Status

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