PHPUnit 10 has been released beginning of February.
As this is a major release with breaking changes, upgrading should be a done deliberately and managed.
This effectively means that upgrading to a PHPUnit Polyfills version which supports PHPUnit 10 should also be done deliberately and managed, so the Polyfills should get a new major release.
To this end, the develop branch in this repo will be renamed to 1.x and a new 2.x branch will be added to contain the code for the 2.x series.
The intention is for the 1.x series to continue to be maintained, alongside the 2.x series, for as long as PHPUnit continues to make PHPUnit 9.x compatible with new PHP versions.
Refs:
Proposed Roadmap for PHPUnit Polyfills 2.0 / PHPUnit 10.0 support
Planning
Providing I manage to get everything working, release version 2.x before the end of March 2023.
Request for comments
This roadmap is open for comments and I'd especially like to hear opinions on the AssertAttributeHelper and about a potential PHPErrorHelper.
PHPUnit 10 has been released beginning of February.
As this is a major release with breaking changes, upgrading should be a done deliberately and managed.
This effectively means that upgrading to a PHPUnit Polyfills version which supports PHPUnit 10 should also be done deliberately and managed, so the Polyfills should get a new major release.
To this end, the
developbranch in this repo will be renamed to1.xand a new2.xbranch will be added to contain the code for the2.xseries.The intention is for the
1.xseries to continue to be maintained, alongside the2.xseries, for as long as PHPUnit continues to make PHPUnit 9.x compatible with new PHP versions.Refs:
Proposed Roadmap for PHPUnit Polyfills 2.0 / PHPUnit 10.0 support
developbranch to1.xand add a2.xbranch.final(following in PHPUnit's footsteps). PR PHPUnit 10 | Make all assertion/exception methodsfinal#104AssertAttributeHelperwhich was only intended to buy people a little more time to upgrade to PHPUnit 9.x.Open question: should the
AssertAttributeHelperstill remain for the time being ? And if so, for how long ?ExpectPHPExceptionPolyfill as this is functionality no longer supported in PHPUnit 10.0. - PR PHPUnit 10 | Remove support for expecting PHP notices/exceptions #108I wouldn't be adverse to adding a
PHPErrorHelperclass/trait for the time being to buy people a little more time though (which similar to theAssertAttributeHelperwould still require test code changes to use, so people will still have to evaluate the tests which use(d) this functionality).assertStringEqualsStringIgnoringLineEndings()andassertStringContainsStringIgnoringLineEndings()assertions. - PR PHPUnit 10 | AssertIgnoringLineEndings trait: polyfill the Assert::assertStringEqualsStringIgnoringLineEndings() et al methods #109assertIsList()assertion. - PR PHPUnit 10 | AssertIsList trait: polyfill the Assert::assertIsList() method #110assertObject[Not]HasProperty()assertions. - PR PHPUnit 10.1 | AssertObjectProperty trait: polyfill the Assert::assertObject[Not]HasProperty() methods #116Planning
Providing I manage to get everything working, release version 2.x before the end of March 2023.
Request for comments
This roadmap is open for comments and I'd especially like to hear opinions on the
AssertAttributeHelperand about a potentialPHPErrorHelper.