sesamyab / wordpress-sesamy

2 stars 0 forks source link

chore(deps): update dependency yoast/phpunit-polyfills to v2 - autoclosed #82

Closed renovate[bot] closed 4 weeks ago

renovate[bot] commented 1 year ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
yoast/phpunit-polyfills ^1.0 -> ^2.0 age adoption passing confidence

Release Notes

Yoast/PHPUnit-Polyfills (yoast/phpunit-polyfills) ### [`v2.0.1`](https://togithub.com/Yoast/PHPUnit-Polyfills/blob/HEAD/CHANGELOG.md#201---2024-04-05) [Compare Source](https://togithub.com/Yoast/PHPUnit-Polyfills/compare/2.0.0...2.0.1) ##### Added - Compatibility fixes for running tests using a PHPUnit PHAR file for PHPUnit 8.5.38+, 9.6.19+ and PHPUnit 10.5.17+. PRs \[[#​161](https://togithub.com/Yoast/PHPUnit-Polyfills/issues/161)], [#​164]. ##### Changed - General housekeeping. [#​164]: https://togithub.com/Yoast/PHPUnit-Polyfills/pull/164 ### [`v2.0.0`](https://togithub.com/Yoast/PHPUnit-Polyfills/blob/HEAD/CHANGELOG.md#200---2023-06-06) [Compare Source](https://togithub.com/Yoast/PHPUnit-Polyfills/compare/1.1.1...2.0.0) ##### PHPUnit 10 support This release updates the PHPUnit Polyfills to allow for *"writing your tests for PHPUnit 10 and running them all the way back to PHPUnit 5"*. Please keep in mind that the PHPUnit Polyfills provide *forward*-compatibility. This means that features which PHPUnit no longer supports in PHPUnit 10.x, like expecting PHP deprecation notices or warnings, are also no longer supported in the 2.0 release of the PHPUnit Polyfills. Please refer to the [PHPUnit 10 release notification] and [PHPUnit 10 changelog] to inform your decision on whether or not to upgrade (yet). Projects which don't use any of the new or removed functionality in their test suite, can, of course, use the PHPUnit Polyfills 1.x and 2.x series side-by-side, like so `composer require --dev yoast/phpunit-polyfills:"^1.0 || ^2.0"`. [PHPUnit 10 release notification]: https://phpunit.de/announcements/phpunit-10.html [PHPUnit 10 changelog]: https://togithub.com/sebastianbergmann/phpunit/blob/10.0.19/ChangeLog-10.0.md > :warning: **Important: about the TestListener polyfill** :warning: > > The TestListener polyfill in PHPUnit Polyfills 2.0 is **[not (yet) compatible with PHPUnit 10.0.0][polyfill-ticket]**. > > If you need the TestListener polyfill, it is recommended to stay on the PHPUnit Polyfills 1.x series for the time being and to watch the [related ticket][polyfill-ticket]. [polyfill-ticket]: https://togithub.com/Yoast/PHPUnit-Polyfills/issues/128 ##### Changelog ##### Added - `Yoast\PHPUnitPolyfills\Polyfills\AssertIgnoringLineEndings` trait to polyfill the `Assert::assertStringEqualsStringIgnoringLineEndings()` and the `Assert::assertStringContainsStringIgnoringLineEndings()` methods as introduced in PHPUnit 10.0.0. PR [#​109]. - `Yoast\PHPUnitPolyfills\Polyfills\AssertIsList` trait to polyfill the `Assert::assertIsList()` method as introduced in PHPUnit 10.0.0. PR [#​110]. - `Yoast\PHPUnitPolyfills\Polyfills\AssertObjectProperty` trait to polyfill the `Assert::assertObjectHasProperty()` and the `Assert::assertObjectNotHasProperty()` methods as introduced in PHPUnit 10.1.0. PR [#​116]. ##### Changed - Composer: allow for installation of PHPUnit 10.x. PR [#​130] - Nearly all assertion methods are now `final`. This alignes them with the same change made upstream in PHPUnit 10.0.0. PR [#​104]. - General housekeeping. ##### Removed - Support for PHP < 5.6. PR [#​102]. - Support for PHPUnit < 5.7.21. PR [#​102]. - Support for expecting PHP deprecations, notices, warnings and error via the `Yoast\PHPUnitPolyfills\Polyfills\ExpectPHPException` trait. PR [#​108]. The trait has been removed completely as PHPUnit 10 no longer supports this functionality. - The `Yoast\PHPUnitPolyfills\Polyfills\AssertNumericType` trait which is no longer needed now support for PHPUnit < 5.7 has been dropped. PR [#​102]. - The `Yoast\PHPUnitPolyfills\Polyfills\ExpectException` trait which is no longer needed now support for PHPUnit < 5.7 has been dropped. PR [#​102]. - The `Yoast\PHPUnitPolyfills\Polyfills\AssertFileDirectory` trait which is no longer needed now support for PHPUnit < 5.7 has been dropped. PR [#​102]. [#​102]: https://togithub.com/Yoast/PHPUnit-Polyfills/pull/102 [#​104]: https://togithub.com/Yoast/PHPUnit-Polyfills/pull/104 [#​108]: https://togithub.com/Yoast/PHPUnit-Polyfills/pull/108 [#​109]: https://togithub.com/Yoast/PHPUnit-Polyfills/pull/109 [#​110]: https://togithub.com/Yoast/PHPUnit-Polyfills/pull/110 [#​116]: https://togithub.com/Yoast/PHPUnit-Polyfills/pull/116 [#​130]: https://togithub.com/Yoast/PHPUnit-Polyfills/pull/130

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.