Closed jrfnl closed 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.
TestCase
public
protected
For the Polyfills, the only affected method is the polyfilled expectExceptionMessageMatches() method.
expectExceptionMessageMatches()
Refs:
coverage: 97.152%. remained the same when pulling 1e6e5befc34ee9eaa671ee9e3d11c1310a791bb9 on feature/3.x/sync-with-phpunit-11 into 62be834015284705c725a0dbc25afc87cfe3e54f on 3.x.
PHPUnit 11.0 changed the visibility of a number of
TestCase
methods frompublic
toprotected
, so the PHPUnit Polyfills should follow suit.For the Polyfills, the only affected method is the polyfilled
expectExceptionMessageMatches()
method.Refs: