Skip to content

Pin behat/gherkin to fix PHP 8.5 tests#284

Closed
swissspidy wants to merge 1 commit into
mainfrom
fix/gherkin
Closed

Pin behat/gherkin to fix PHP 8.5 tests#284
swissspidy wants to merge 1 commit into
mainfrom
fix/gherkin

Conversation

@swissspidy

Copy link
Copy Markdown
Member

See Behat/Behat#1636 for context.

behat/gherkin had a breaking change that behat/behat had to accommodate for. Since we're stuck at Behat 3.15, but were using a newer version of behat/gherkin, that caused an incompatibility. This showed in PHP 8.5 tests once behat/gherkin v4.15.0 was released which introduced 8.5 compatibility.

tl;dr: this PR here will fix PHP 8.5 tests for all our commands once they update the wp-cli-tests dependency.

@codecov

codecov Bot commented Nov 23, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@swissspidy

Copy link
Copy Markdown
Member Author

Obsolete now that Behat 3.27 was released with PHP 8.5 support, see https://github.com/Behat/Behat/releases/tag/v3.27.0

@swissspidy swissspidy closed this Nov 24, 2025
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