Skip to content

chore: HWP Previews Plugin Updates June 2026#698

Open
colinmurphy wants to merge 9 commits into
mainfrom
chore-hwp-previews-update-june-2026
Open

chore: HWP Previews Plugin Updates June 2026#698
colinmurphy wants to merge 9 commits into
mainfrom
chore-hwp-previews-update-june-2026

Conversation

@colinmurphy

@colinmurphy colinmurphy commented Jun 22, 2026

Copy link
Copy Markdown
Member

Background

Various releases were failing due to Psalm failing due to incompatibilites with some packages.

Important

We are now making PHP 8.2 the minimum PHP version.

Changes

Various packages were needed to be updated (also depreacted one removed)

  • lucatume/wp-browser 3.7.19 → 4.6.1
  • phpunit/phpunit 9.6 → 10.5
  • 10up/wp_mock removed entirely
  • FaustIntegrationTest.php — replaced WP_Mock with a small inline function stub in the WPE\FaustWP\Settings namespace; uses a $GLOBALS key the stub
    reads, so tests stay isolated
  • Psalm no longer crashes — the PHP 8.4 nullable parameter deprecation is gone since wp-browser 4.x fixed it

Also:

  • Fixes issues with activation/de-activation hooks
  • Updated test to for WordPress 7.0

@colinmurphy colinmurphy requested a review from a team as a code owner June 22, 2026 18:26
@changeset-bot

changeset-bot Bot commented Jun 22, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9bda701

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@wpengine/hwp-previews-wordpress-plugin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown

📦 Plugin Artifacts Ready!

Download from GitHub Actions run

Available plugins:

  • ✅ hwp-previews.zip

See the "Artifacts" section at the bottom of the Actions run page

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