Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer:(deps-dev): Update yoast/phpunit-polyfills requirement from ^1.0 to ^1.0 || ^2.0 #227

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 16, 2024

Updates the requirements on yoast/phpunit-polyfills to permit the latest version.

Release notes

Sourced from yoast/phpunit-polyfills's releases.

2.0.2 - 2024-09-07

This is a maintenance release.

Changed

  • README: updated sub-section about PHPUnit version support with information about the PHPUnit Polyfills 3.x branch. PR #188
  • README: FAQ updated with info about ability to polyfill the removed expectDeprecation*() methods et al. PR #187, props @​hellofromtonya.
  • README: links to the PHPUnit manual now point explicitly to the PHPUnit 10.x documentation. PR #190
  • General housekeeping.
Changelog

Sourced from yoast/phpunit-polyfills's changelog.

[2.0.2] - 2024-09-07

This is a maintenance release.

Changed

  • README: updated sub-section about PHPUnit version support with information about the PHPUnit Polyfills 3.x branch. PR #188
  • README: FAQ updated with info about ability to polyfill the removed expectDeprecation*() methods et al. PR #187, props [Tonya Mork].
  • README: links to the PHPUnit manual now point explicitly to the PHPUnit 10.x documentation. PR #190
  • General housekeeping.

#187: Yoast/PHPUnit-Polyfills#187

#190: Yoast/PHPUnit-Polyfills#190

[2.0.1] - 2024-04-05

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, #164.

Changed

  • General housekeeping.

#164: Yoast/PHPUnit-Polyfills#164

[2.0.0] - 2023-06-06

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".

⚠️ Important: about the TestListener polyfill ⚠️

The TestListener polyfill in PHPUnit Polyfills 2.0 is not (yet) compatible with PHPUnit 10.0.0.

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.

... (truncated)

Commits
  • 562f449 Merge pull request #202 from Yoast/feature/2.x-changelog-2.0.2
  • 2f68d4e Changelog for the 2.0.2 release
  • eebfcfb Merge branch '1.x' into 2.x
  • e9c8413 Merge pull request #201 from Yoast/feature/1.x-readme-update-for-polyfills-3.x
  • 8858643 Changelog for the 1.1.2 release
  • 58efe02 Merge pull request #191 from Yoast/feature/2.x/ghactions-stop-testing-against...
  • 65033b0 2.x | GH Actions: remove the trial run against PHPUnit 11
  • 0faa897 Merge pull request #190 from Yoast/feature/2.x/readme-updates
  • 199bd09 README: update links to PHPUnit docs
  • eb2db84 Merge pull request #189 from Yoast/feature/2.x/add-attributes-for-annotations
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
yoast/phpunit-polyfills [>= 3.0.a, < 3.1]

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [yoast/phpunit-polyfills](https://github.com/Yoast/PHPUnit-Polyfills) to permit the latest version.
- [Release notes](https://github.com/Yoast/PHPUnit-Polyfills/releases)
- [Changelog](https://github.com/Yoast/PHPUnit-Polyfills/blob/3.x/CHANGELOG.md)
- [Commits](Yoast/PHPUnit-Polyfills@1.0.0...2.0.2)

---
updated-dependencies:
- dependency-name: yoast/phpunit-polyfills
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@jrfnl
Copy link
Member

jrfnl commented Sep 16, 2024

PHPUnit polyfills 2.0 does not have a fully working Test Listener implementation (yet) - see Yoast/PHPUnit-Polyfills#128

As we use the Test Listener to get debug data about failing tests, widening the Polyfills requirement is not an option at this time. It is also not yet necessary as PHPUnit 8 and 9 have LTS support for new PHP versions.

With that in mind, I'm closing this PR.

@dependabot ignore this minor version

@jrfnl jrfnl closed this Sep 16, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 16, 2024

OK, I won't notify you about version 2.0.x again, unless you re-open this PR.

@dependabot dependabot bot deleted the dependabot/composer/yoast/phpunit-polyfills-tw-1.0or-tw-2.0 branch September 16, 2024 12:37
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.

1 participant