Skip to content

chore(deps): update dependency yoast/phpunit-polyfills to v4#773

Merged
renovate[bot] merged 1 commit into
masterfrom
renovate/yoast-phpunit-polyfills-4.x
Feb 10, 2025
Merged

chore(deps): update dependency yoast/phpunit-polyfills to v4#773
renovate[bot] merged 1 commit into
masterfrom
renovate/yoast-phpunit-polyfills-4.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Feb 9, 2025

This PR contains the following updates:

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

Release Notes

Yoast/PHPUnit-Polyfills (yoast/phpunit-polyfills)

v4.0.0

Compare Source

PHPUnit 12 support

This release updates the PHPUnit Polyfills to allow for "writing your tests for PHPUnit 12 and running them all the way back to PHPUnit 7". [*]

Please keep in mind that the PHPUnit Polyfills provide forward-compatibility. This means that features which PHPUnit no longer supports in PHPUnit 12.x, are also no longer supported in the 4.0 release of the PHPUnit Polyfills.

Please refer to the PHPUnit 12 release notification and PHPUnit 12 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, 2.x, 3.x and 4.x series side-by-side, like so composer require --dev yoast/phpunit-polyfills:"^1.0 || ^2.0 || ^3.0 || ^4.0".

[*]: Note: Releases from the PHPUnit Polyfills 4.x branch will support running tests on PHPUnit 7.5.0 - 9.x, 11.x and 12.x, but will not allow for running tests on PHPUnit 10 (for reasons explained in [#​200]).
In practical terms, the net effect of this is that tests on PHP 8.1 will run on PHPUnit 9 instead of PHPUnit 10. Other than that, there is no impact.

Changelog
Changed
  • Composer: allow for installation of PHPUnit 12.x. PR #​247
  • Scalar parameter type declarations and return type declarations are now used where possible. PR #​241
  • General housekeeping.
Removed
  • Support for PHP < 7.1. PR #​238.
  • Support for PHPUnit < 7.5.0. PR #​239.
  • The Yoast\PHPUnitPolyfills\Polyfills\AssertIsType trait which is no longer needed now support for PHPUnit < 7.5 has been dropped. PR #​239.
  • The Yoast\PHPUnitPolyfills\Polyfills\AssertStringContains trait which is no longer needed now support for PHPUnit < 7.5 has been dropped. PR #​239.
  • The Yoast\PHPUnitPolyfills\Polyfills\AssertEqualsSpecializations trait which is no longer needed now support for PHPUnit < 7.5 has been dropped. PR #​239.

Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

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

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 9, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
composer/yoast/phpunit-polyfills >= 4.0, < 5.0 UnknownUnknown
composer/yoast/phpunit-polyfills 4.0.0 UnknownUnknown

Scanned Files

  • wptest/composer.json
  • wptest/composer.lock

@renovate renovate Bot force-pushed the renovate/yoast-phpunit-polyfills-4.x branch from 9bb8913 to 4f223a1 Compare February 10, 2025 00:24
@sonarqubecloud
Copy link
Copy Markdown

@renovate renovate Bot merged commit 54c6770 into master Feb 10, 2025
@renovate renovate Bot deleted the renovate/yoast-phpunit-polyfills-4.x branch February 10, 2025 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants