Skip to content

chore(deps-dev): update brain/monkey requirement from ^2.6 to ^2.7 - #347

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/composer/develop/brain/monkey-tw-2.7
Open

dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/composer/develop/brain/monkey-tw-2.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Updates the requirements on brain/monkey to permit the latest version.

Release notes

Sourced from brain/monkey's releases.

v2.7.0

Added

  • The function mocks for has_filter() and has_action() now support the $priority parameter as added in WordPress 6.9 by @​jrfnl.

Changed

  • Composer: the version constraints for Mockery have been tightened up by @​jrfnl.
  • Confirmed compatibility with PHP 8.4 and 8.5.
  • The package as distributed will no longer contain dev-only files by @​jrfnl.
  • Various housekeeping, including improvements to the tests, documentation and CI.

Fixed

  • Default values for some parameters in function mocks for WP have been aligned with WP Core by @​jrfnl. This fixes a few situations where WP Core would allow for not passing a parameter, while BrainMonkey did not, or would expect a different default value when skipping a parameter. In particular, this affects the function mocks of doing_action(), doing_filter(), do_action_deprecated(), apply_filters_deprecated(), has_filter() and has_action().

Full Changelog: Brain-WP/BrainMonkey@2.6.2...2.7.0

Commits
  • ea3aeb3 Merge pull request #180 from Brain-WP/feature/sync-with-wp-3
  • e4c7be3 WP Helper functions - has_*(): sync signature with WP 6.9
  • e536f32 WP Helper functions - has_*(): ensure parameter defaults are in line with W...
  • 3f029bb Merge pull request #179 from Brain-WP/feature/ghactions-pin-action-runners
  • 002cff9 Dependabot: update config
  • ba495c3 GH Actions: "pin" all action runners
  • 5d2aea1 Merge pull request #176 from Brain-WP/feature/ghactions-test-job-rename-vars
  • 86df8ae Merge pull request #177 from Brain-WP/feature/sync-with-wp-1
  • a6cae7d Merge pull request #178 from Brain-WP/feature/sync-with-wp-2
  • 0e3ce6b WP Helper functions - doing_*(): ensure parameter defaults are in line with...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Sep 28, 2026
@dependabot @github

dependabot Bot commented on behalf of github Sep 28, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: automerge. Please create it before Dependabot can add it to a pull request.

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

@dependabot
dependabot Bot force-pushed the dependabot/composer/develop/brain/monkey-tw-2.7 branch 2 times, most recently from e7032e4 to 0696e56 Compare September 29, 2026 15:53
Updates the requirements on [brain/monkey](https://github.com/Brain-WP/BrainMonkey) to permit the latest version.
- [Release notes](https://github.com/Brain-WP/BrainMonkey/releases)
- [Commits](Brain-WP/BrainMonkey@2.6.0...2.7.0)

---
updated-dependencies:
- dependency-name: brain/monkey
  dependency-version: 2.7.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/composer/develop/brain/monkey-tw-2.7 branch from 0696e56 to 493fe31 Compare October 1, 2026 16:22
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.

0 participants