Skip to content

chore(deps-dev): bump yoast/phpunit-polyfills from 1.1.5 to 4.0.0#33

Merged
techtimo merged 1 commit intomainfrom
dependabot/composer/yoast/phpunit-polyfills-4.0.0
Apr 11, 2026
Merged

chore(deps-dev): bump yoast/phpunit-polyfills from 1.1.5 to 4.0.0#33
techtimo merged 1 commit intomainfrom
dependabot/composer/yoast/phpunit-polyfills-4.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 11, 2026

Bumps yoast/phpunit-polyfills from 1.1.5 to 4.0.0.

Release notes

Sourced from yoast/phpunit-polyfills's releases.

4.0.0 - 2025-02-09

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.

3.1.2 - 2025-02-09

This is a maintenance release.

Changed

  • README: updated sub-section about PHPUnit version support with information about the PHPUnit Polyfills 4.x branch. PR #249
  • General housekeeping.

3.1.1 - 2025-01-12

Fixed

  • AssertContainsOnly::assertContainsNotOnlyInstancesOf(): incorrect parameter name. PR #235

Changed

  • General housekeeping.

3.1.0 - 2025-01-08

Added

  • Yoast\PHPUnitPolyfills\Polyfills\AssertContainsOnly trait to polyfill the specialized Assert::assertContains[Not]Only*() methods as introduced in PHPUnit 11.5.0. PR #225.

Changed

  • README: fix links which were broken due to an upstream branch removal. PR #213.
  • README: fixed a few broken badges.

... (truncated)

Changelog

Sourced from yoast/phpunit-polyfills's changelog.

[4.0.0] - 2025-02-09

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.

#238: Yoast/PHPUnit-Polyfills#238 #239: Yoast/PHPUnit-Polyfills#239 #241: Yoast/PHPUnit-Polyfills#241 #247: Yoast/PHPUnit-Polyfills#247

[3.1.2] - 2025-02-09

This is a maintenance release.

Changed

  • README: updated sub-section about PHPUnit version support with information about the PHPUnit Polyfills 4.x branch. PR #249
  • General housekeeping.

... (truncated)

Commits
  • 134921b Merge pull request #254 from Yoast/feature/4.x/changelog-v4.0.0
  • 467709f Changelog for the 4.0.0 release and other documentation updates
  • b7d234f Merge branch '3.x' into 4.x
  • 9cf2ccd Merge pull request #253 from Yoast/feature/3.x/changelog-v3.1.2
  • 59bd807 Changelog for the 3.1.2 release
  • 083d158 Merge branch '3.x' into 4.x
  • 615cd5b Merge branch '2.x' into 3.x
  • a0e3e9a Merge pull request #252 from Yoast/feature/2.x/changelog-v2.0.4
  • 0f50227 Changelog for the 2.0.4 release
  • 93c9b2d Merge branch '3.x' into 4.x
  • Additional commits viewable in compare view

@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Apr 11, 2026
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@techtimo techtimo force-pushed the dependabot/composer/yoast/phpunit-polyfills-4.0.0 branch from f54f3cb to f9a6bb5 Compare April 11, 2026 13:22
@techtimo
Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 11, 2026

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@techtimo
Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 11, 2026

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@techtimo
Copy link
Copy Markdown
Owner

@dependabot recreate

Dependabot couldn't find the original pull request head commit, f54f3cb.
@dependabot dependabot bot force-pushed the dependabot/composer/yoast/phpunit-polyfills-4.0.0 branch from 920a97d to 3cd8c86 Compare April 11, 2026 14:43
@techtimo techtimo merged commit bda3ce3 into main Apr 11, 2026
3 checks passed
@dependabot dependabot bot deleted the dependabot/composer/yoast/phpunit-polyfills-4.0.0 branch April 11, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants