Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ codeception.yml
.editorconfig
plugin-build
bin/strauss.phar
CLAUDE.md
.claude
6 changes: 5 additions & 1 deletion bin/_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ remove_wordpress() {
install_local_test_library() {
# Install testing library dependencies.
composer install
# Pin behat/gherkin to a version compatible with codeception 4.2.2
# Versions 4.12+ introduced breaking changes that broke codeception's path-based i18n loading
composer require --dev -W \
"behat/gherkin:^4.8 <4.12" \
"lucatume/wp-browser:>3.1 <3.5" \
phpunit/phpunit:^9.6 \
codeception/lib-asserts:* \
Expand Down Expand Up @@ -102,7 +105,8 @@ remove_local_test_library() {
codeception/util-universalframework \
lucatume/wp-browser \
stripe/stripe-php \
fakerphp/faker
fakerphp/faker \
behat/gherkin
}

cleanup_composer_file() {
Expand Down
Loading
Loading