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/wp-test-utils from 0.2.2 to 1.2.0 #1056

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 2, 2023

Bumps yoast/wp-test-utils from 0.2.2 to 1.2.0.

Release notes

Sourced from yoast/wp-test-utils's releases.

1.2.0

Added

  • Support for the new PHPUnit assertObjectHasProperty() and assertObjectNotHasProperty() assertions, as polyfilled via the PHPUnit Polyfills in all test cases. PR #64 This means that the assertObjectHasProperty() and assertObjectNotHasProperty() assertions can now safely be used in all tests in classes which extend one of the WP Test Utils TestCases.

Changed

  • Yoast\WPTestUtils\BrainMonkey\YoastTestCase: the parameter names used in a few of the stubs for WP Core functions have been updated to stay in line with the names used in WP Core. PR #53
  • The PHPUnit Polyfills dependency has been updated to require version ^1.1.0 (was ^1.0.5). PRs #52, #64
  • Verified PHP 8.3 compatibility.
  • General housekeeping.

#52: Yoast/wp-test-utils#52 #53: Yoast/wp-test-utils#53 #64: Yoast/wp-test-utils#64 PHPUnit Polyfills: https://github.com/Yoast/PHPUnit-Polyfills/releases

1.1.1

Fixed

  • The "on the fly" created test doubles would identify as the same class when comparing objects using instanceof. #45 The underlying logic has been changed to prevent this. This includes removing the (non-public API) Yoast\WPTestUtils\BrainMonkey\Doubles\DummyTestDouble class which was introduced in 1.1.0.

#45: Yoast/wp-test-utils#45

1.1.0

Added

  • Helper functions for on-the-fly creation of opaque test doubles for unavailable classes for use with Mockery. PR #40 The default Mockery mocks for unavailable classes do not allow for the dynamic property deprecation in PHP 8.2, which can cause tests to error out. These helper functions can be used to create test doubles which do allow for setting properties. The helper functions can be called from within a test bootstrap or from within a test class. For full details about these new functions, why they exist and how to use them, please see the documentation in the README.

Changed

#28: Yoast/wp-test-utils#28 #36: Yoast/wp-test-utils#36 #40: Yoast/wp-test-utils#40 #41: Yoast/wp-test-utils#41

... (truncated)

Changelog

Sourced from yoast/wp-test-utils's changelog.

[1.2.0] - 2023-09-27

Added

  • Support for the new PHPUnit assertObjectHasProperty() and assertObjectNotHasProperty() assertions, as polyfilled via the PHPUnit Polyfills in all test cases. PR #64 This means that the assertObjectHasProperty() and assertObjectNotHasProperty() assertions can now safely be used in all tests in classes which extend one of the WP Test Utils TestCases.

Changed

  • Yoast\WPTestUtils\BrainMonkey\YoastTestCase: the parameter names used in a few of the stubs for WP Core functions have been updated to stay in line with the names used in WP Core. PR #53
  • The [PHPUnit Polyfills] dependency has been updated to require version ^1.1.0 (was ^1.0.5). PRs #52, #64
  • Verified PHP 8.3 compatibility.
  • General housekeeping.

#52: Yoast/wp-test-utils#52 #53: Yoast/wp-test-utils#53 #64: Yoast/wp-test-utils#64

[1.1.1] - 2022-11-17

Fixed

  • The "on the fly" created test doubles would identify as the same class when comparing objects using instanceof. #45 The underlying logic has been changed to prevent this. This includes removing the (non-public API) Yoast\WPTestUtils\BrainMonkey\Doubles\DummyTestDouble class which was introduced in 1.1.0.

#45: Yoast/wp-test-utils#45

[1.1.0] - 2022-11-17

Added

  • Helper functions for on-the-fly creation of opaque test doubles for unavailable classes for use with Mockery. PR #40 The default Mockery mocks for unavailable classes do not allow for the dynamic property deprecation in PHP 8.2, which can cause tests to error out. These helper functions can be used to create test doubles which do allow for setting properties. The helper functions can be called from within a test bootstrap or from within a test class. For full details about these new functions, why they exist and how to use them, please see the documentation in the README.

Changed

  • The [BrainMonkey] dependency has been updated to require version ^2.6.1 (was ^2.6.0). PR #28
  • The [PHPUnit Polyfills] dependency has been updated to require version ^1.0.4 (was ^1.0.1). PRs #28, #41
  • Composer: The package will now identify itself as a testing tool. PR #36
  • Verified PHP 8.2 compatibility.
  • General housekeeping.

#28: Yoast/wp-test-utils#28 #36: Yoast/wp-test-utils#36 #40: Yoast/wp-test-utils#40 #41: Yoast/wp-test-utils#41

... (truncated)

Commits
  • 2e0f62e Merge pull request #67 from Yoast/develop
  • b7e1f7b Merge pull request #66 from Yoast/JRF/changelog-1.2.0
  • 7e1629b Changelog for release 1.2.0
  • 57693fe Merge pull request #57 from Yoast/dependabot/github_actions/actions/checkout-4
  • b65370b Merge pull request #64 from Yoast/JRF/update-for-phpunit-polyfills-1.1.0
  • 9484959 Merge pull request #65 from Yoast/JRF/gitattributes-minor-tweaks
  • d80ec93 .gitattributes: minor clean up
  • b0a3817 Backport support for the AssertObjectProperty polyfill
  • 6de43fc Merge pull request #63 from Yoast/JRF/tests-static-dataproviders
  • 55643b9 Merge pull request #62 from Yoast/JRF/tests-class-should-be-final
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 2, 2023
@dependabot dependabot bot force-pushed the dependabot/composer/yoast/wp-test-utils-1.2.0 branch from 550a62e to c35e503 Compare October 17, 2023 18:08
@dependabot dependabot bot force-pushed the dependabot/composer/yoast/wp-test-utils-1.2.0 branch from c35e503 to a017fe6 Compare October 30, 2023 19:59
@thelovekesh
Copy link
Collaborator

@dependabot recreate

Bumps [yoast/wp-test-utils](https://github.com/Yoast/wp-test-utils) from 0.2.2 to 1.2.0.
- [Release notes](https://github.com/Yoast/wp-test-utils/releases)
- [Changelog](https://github.com/Yoast/wp-test-utils/blob/develop/CHANGELOG.md)
- [Commits](Yoast/wp-test-utils@0.2.2...1.2.0)

---
updated-dependencies:
- dependency-name: yoast/wp-test-utils
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 19, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/composer/yoast/wp-test-utils-1.2.0 branch January 19, 2024 18:03
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant