Skip to content

Commit 2fac376

Browse files
committed
Build/Test Tools: Change the default value of LOCAL_PHP.
This changes the default value for `LOCAL_PHP` in the 5.9 branch from `latest` to `8.1-fpm` to reflect the highest version of PHP this branch will support (with beta support). After this change, future updates to the `latest` container built and published by the `wpdev-docker-images` repository will not cause failures in this branch. This also pins the version of PHP used in the E2E test workflow to PHP 8.0 to avoid deprecated notices related to #54914, which was not fixed until version 6.1. Follow up to [57198], [57199], [57200]. See #60095. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@57201 602fd350-edb4-49c9-b593-d223f7449a82
1 parent eab56ab commit 2fac376

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ LOCAL_PORT=8889
1515
LOCAL_DIR=src
1616

1717
# The PHP version to use. Valid options are 'latest', and '{version}-fpm'.
18-
LOCAL_PHP=latest
18+
LOCAL_PHP=8.1-fpm
1919

2020
# Whether or not to enable XDebug.
2121
LOCAL_PHP_XDEBUG=false

.github/workflows/end-to-end-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ concurrency:
2828

2929
env:
3030
LOCAL_DIR: build
31+
LOCAL_PHP: 8.0-fpm
3132

3233
jobs:
3334
# Runs the end-to-end test suite.

0 commit comments

Comments
 (0)