Skip to content
Closed
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
4 changes: 4 additions & 0 deletions packages/env/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Bug Fixes

- Disable Composer 2.8+ `audit.block-insecure` before installing PHPUnit in the tests-cli image so that advisories on abandoned PHPUnit majors don't block the image build. ([#77470](https://github.com/WordPress/gutenberg/issues/77470))

## 11.4.0 (2026-04-15)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion packages/env/lib/runtime/docker/docker-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ RUN rm /tmp/composer-setup.php`;
dockerFileContent += `
USER $HOST_UID:$HOST_GID
ENV PATH="\${PATH}:/home/$HOST_USERNAME/.composer/vendor/bin"
RUN composer global require --dev phpunit/phpunit:"^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0"
RUN composer config --global audit.block-insecure false && composer global require --dev phpunit/phpunit:"^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0"
USER root`;

return dockerFileContent;
Expand Down
Loading