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

Bump yoast/phpunit-polyfills from 1.1.0 to 2.0.1 #77

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 27, 2024

Bumps yoast/phpunit-polyfills from 1.1.0 to 2.0.1.

Release notes

Sourced from yoast/phpunit-polyfills's releases.

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.

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

⚠️ 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.

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.

... (truncated)

Changelog

Sourced from yoast/phpunit-polyfills's changelog.

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

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.

... (truncated)

Commits
  • 4a088f1 Merge pull request #166 from Yoast/feature/changelog-2.0.1-release
  • 42c0c72 Changelog for the 2.0.1 release
  • 17f46e2 Merge branch '1.x' into 2.x
  • a0f7d70 Merge pull request #165 from Yoast/feature/changelog-1.1.1-release
  • b844e63 Changelog for the 1.1.1 release
  • 136a0da Merge branch '1.x' into 2.x
  • fb90e5d Merge pull request #163 from Yoast/feature/composer-update-dependencies
  • cbb524b Composer: update version constraints
  • 736d8ee Merge branch '1.x' into 2.x
  • d2a5a0a Merge pull request #164 from Yoast/feature/support-phpunit-8.5.38-9.6.19_-10....
  • Additional commits viewable 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 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)

Bumps [yoast/phpunit-polyfills](https://github.com/Yoast/PHPUnit-Polyfills) from 1.1.0 to 2.0.1.
- [Release notes](https://github.com/Yoast/PHPUnit-Polyfills/releases)
- [Changelog](https://github.com/Yoast/PHPUnit-Polyfills/blob/2.x/CHANGELOG.md)
- [Commits](Yoast/PHPUnit-Polyfills@1.1.0...2.0.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels May 27, 2024
Copy link

composer.lock

Dev Package changes

Package Operation From To About
nikic/php-parser upgrade v4.15.4 v5.0.2 diff
phar-io/manifest upgrade 2.0.3 2.0.4 diff
phpunit/php-code-coverage upgrade 9.2.26 10.1.14 diff
phpunit/php-file-iterator upgrade 3.0.6 4.1.0 diff
phpunit/php-invoker upgrade 3.1.1 4.0.0 diff
phpunit/php-text-template upgrade 2.0.4 3.0.1 diff
phpunit/php-timer upgrade 5.0.3 6.0.0 diff
phpunit/phpunit upgrade 9.6.6 10.5.20 diff
sebastian/cli-parser upgrade 1.0.1 2.0.1 diff
sebastian/code-unit upgrade 1.0.8 2.0.0 diff
sebastian/code-unit-reverse-lookup upgrade 2.0.3 3.0.0 diff
sebastian/comparator upgrade 4.0.8 5.0.1 diff
sebastian/complexity upgrade 2.0.2 3.2.0 diff
sebastian/diff upgrade 4.0.4 5.1.1 diff
sebastian/environment upgrade 5.1.5 6.1.0 diff
sebastian/exporter upgrade 4.0.5 5.1.2 diff
sebastian/global-state upgrade 5.0.5 6.0.2 diff
sebastian/lines-of-code upgrade 1.0.3 2.0.2 diff
sebastian/object-enumerator upgrade 4.0.4 5.0.0 diff
sebastian/object-reflector upgrade 2.0.4 3.0.0 diff
sebastian/recursion-context upgrade 4.0.5 5.0.0 diff
sebastian/type upgrade 3.2.1 4.0.0 diff
sebastian/version upgrade 3.0.2 4.0.1 diff
theseer/tokenizer upgrade 1.2.1 1.2.3 diff
yoast/phpunit-polyfills upgrade 1.1.0 2.0.1 diff
doctrine/instantiator remove 2.0.0 - -
sebastian/resource-operations remove 3.0.3 - -

Settings · Docs · Powered by Private Packagist

Copy link
Contributor Author

dependabot bot commented on behalf of github May 30, 2024

Looks like yoast/phpunit-polyfills is no longer being updated by Dependabot, so this is no longer needed.

@dependabot dependabot bot closed this May 30, 2024
@dependabot dependabot bot deleted the dependabot/composer/yoast/phpunit-polyfills-2.0.1 branch May 30, 2024 18:30
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.

0 participants