Skip to content

Commit cba578e

Browse files
Add PHP 8.5 to workflow (#6266)
Co-authored-by: Chris Müller <coding@brotkrueml.dev>
1 parent e11d8fb commit cba578e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- '8.2'
1919
- '8.3'
2020
- '8.4'
21+
- '8.5'
2122
steps:
2223
- name: Checkout
2324
uses: actions/checkout@v5

Build/Scripts/runTests.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,12 @@ Options:
6161
6262
If not specified, podman will be used if available. Otherwise, docker is used.
6363
64-
-p <8.2|8.3|8.4>
64+
-p <8.2|8.3|8.4|8.5>
6565
Specifies the PHP minor version to be used
6666
- 8.2: (default) use PHP 8.2
6767
- 8.3: use PHP 8.3
6868
- 8.4: use PHP 8.4
69+
- 8.5: use PHP 8.5
6970
-n
7071
Only with -s cgl, composerNormalize, rector
7172
Activate dry-run in CGL check and composer normalize that does not actively change files and only prints broken ones.
@@ -120,7 +121,7 @@ while getopts "b:s:p:xy:nhu" OPT; do
120121
;;
121122
p)
122123
PHP_VERSION=${OPTARG}
123-
if ! [[ ${PHP_VERSION} =~ ^(8.2|8.3|8.4)$ ]]; then
124+
if ! [[ ${PHP_VERSION} =~ ^(8.2|8.3|8.4|8.5)$ ]]; then
124125
INVALID_OPTIONS+=("p ${OPTARG}")
125126
fi
126127
;;

0 commit comments

Comments
 (0)