Skip to content

chore(deps): bump yoast/phpunit-polyfills from 3.1.2 to 4.0.0 in the phpunit-tools group#3

Merged
nickhamze merged 1 commit into
mainfrom
dependabot/composer/phpunit-tools-9dc14f14c4
Mar 7, 2026
Merged

chore(deps): bump yoast/phpunit-polyfills from 3.1.2 to 4.0.0 in the phpunit-tools group#3
nickhamze merged 1 commit into
mainfrom
dependabot/composer/phpunit-tools-9dc14f14c4

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 7, 2026

Bumps the phpunit-tools group with 1 update: yoast/phpunit-polyfills.

Updates yoast/phpunit-polyfills from 3.1.2 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.
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

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
  • 083d158 Merge branch '3.x' into 4.x
  • 93c9b2d Merge branch '3.x' into 4.x
  • 9999f88 Merge branch '3.x' into 4.x
  • 580ceb9 Merge branch '3.x' into 4.x
  • fe6a250 Merge branch '3.x' into 4.x
  • 85687d5 Merge pull request #247 from Yoast/feature/composer-ci-allow-for-phpunit-12
  • acc6556 Composer/GH Actions: allow for PHPUnit 12.x
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Mar 7, 2026

Labels

The following labels could not be found: dependencies, php. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot force-pushed the dependabot/composer/phpunit-tools-9dc14f14c4 branch 2 times, most recently from 869590f to 118a6b9 Compare March 7, 2026 01:53
Bumps the phpunit-tools group with 1 update: [yoast/phpunit-polyfills](https://github.com/Yoast/PHPUnit-Polyfills).


Updates `yoast/phpunit-polyfills` from 3.1.2 to 4.0.0
- [Release notes](https://github.com/Yoast/PHPUnit-Polyfills/releases)
- [Changelog](https://github.com/Yoast/PHPUnit-Polyfills/blob/4.x/CHANGELOG.md)
- [Commits](Yoast/PHPUnit-Polyfills@3.1.2...4.0.0)

---
updated-dependencies:
- dependency-name: yoast/phpunit-polyfills
  dependency-version: 4.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: phpunit-tools
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/composer/phpunit-tools-9dc14f14c4 branch from 118a6b9 to beb3896 Compare March 7, 2026 01:54
@nickhamze nickhamze merged commit b426799 into main Mar 7, 2026
@dependabot dependabot Bot deleted the dependabot/composer/phpunit-tools-9dc14f14c4 branch March 7, 2026 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant