Version 1.0.0 - 2021-06-21
Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResourcetrait to polyfill the
Assert::assertIsNotClosedResource()methods as introduced in PHPUnit 9.3.0. PR [#27].
Yoast\PHPUnitPolyfills\Polyfills\AssertObjectEqualstrait to polyfill the
Assert::assertObjectEquals()method as introduced in PHPUnit 9.4.0. PR [#38]. The behaviour of the polyfill closely matches the PHPUnit native implementation, but is not 100% the same. Most notably, the polyfill will check the type of the returned value from the comparator method instead of the enforcing a return type declaration of the comparator method.
Yoast\PHPUnitPolyfills\Polyfills\EqualToSpecializationstrait to polyfill the
Assert::equalToWithDelta()methods as introduced in PHPUnit 9.0.0. PR [#28], props [Marc Siegrist].
TypeErrorclasses as introduced in PHP 7.0. PR [#36].
XTestCase: the visibility of the
tearDownFixtures()methods has been changed to
public). Issue [#10], PR [#20], props [Mark Baker] for reporting.
AssertStringContainString: PHPUnit < 6.4.2 would throw a "mb_strpos(): empty delimiter" PHP warning when the
$needlepassed was an empty string. Props [Gary Jones].
sudo dnf upgrade --refresh --advisory=FEDORA-2021-7d2049640b
Please login to add feedback.