Skip to content

Commit 83b0df6

Browse files
committed
Build/Test Tools: Enable testing for PHP 8.5.
With PHP 8.5 due out in November later this year, contributors have been working on ensuring WordPress 6.9 is as compatible as possible. Enough progress has been made during this release cycle where PHPUnit tests now run successfully with no failures reported. This change enables PHP 8.5 testing throughout Core’s GitHub Action workflows to ensure no new problems are introduced going forward. Props swissspidy, desrosj. See #63061. git-svn-id: https://develop.svn.wordpress.org/trunk@60952 602fd350-edb4-49c9-b593-d223f7449a82
1 parent c6a9f26 commit 83b0df6

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

.github/workflows/local-docker-environment.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ jobs:
109109
db-version: '9.4'
110110
- php: '7.3'
111111
db-version: '9.4'
112+
# No PHP 8.5 + Memcached support yet.
113+
- php: '8.5'
114+
memcached: true
112115

113116
with:
114117
os: ${{ matrix.os }}

.github/workflows/phpunit-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
fail-fast: false
7373
matrix:
7474
os: [ ubuntu-24.04 ]
75-
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
75+
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
7676
db-type: [ 'mysql' ]
7777
db-version: [ '5.7', '8.0', '8.4' ]
7878
tests-domain: [ 'example.org' ]
@@ -149,7 +149,7 @@ jobs:
149149
fail-fast: false
150150
matrix:
151151
os: [ ubuntu-24.04 ]
152-
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
152+
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
153153
db-type: [ 'mariadb' ]
154154
db-version: [ '5.5', '10.3', '10.4', '10.5', '10.6', '10.11', '11.4', '11.8' ]
155155
multisite: [ false, true ]
@@ -201,7 +201,7 @@ jobs:
201201
fail-fast: false
202202
matrix:
203203
os: [ ubuntu-24.04 ]
204-
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
204+
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
205205
db-type: [ 'mysql', 'mariadb' ]
206206
db-version: [ '9.4', '12.0' ]
207207
multisite: [ false, true ]

.github/workflows/upgrade-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
fail-fast: false
6969
matrix:
7070
os: [ 'ubuntu-24.04' ]
71-
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
71+
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
7272
db-type: [ 'mysql' ]
7373
db-version: [ '5.7', '8.0', '8.4', '9.4' ]
7474
wp: [ '6.7', '6.8' ]

.version-support-php.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"8.1",
88
"8.2",
99
"8.3",
10-
"8.4"
10+
"8.4",
11+
"8.5"
1112
],
1213
"6-8": [
1314
"7.2",

0 commit comments

Comments
 (0)