Skip to content

Commit 9a9ede9

Browse files
committed
[TASK] Allow execution with PHP8.5 in Build/Scripts/runTests.sh
PHP8.5.0alpha1 has been released [1] recently and official php docker image made available with [2], which allowed us to build `ghcr.io/typo3/core-testing-php85` image based on it [3][4]. This change allows PHP8.5 to be used as option for the dispatch wrapper `Build/Scripts/runTests.sh` to start testing locally. Adding to pre-merge and/or nightly will be done later when it has been proofen to work. [1] https://www.php.net/archive/2025.php#2025-07-03-5 [2] docker-library/official-images#19414 [3] https://git.typo3.org/typo3/CI/testing-infrastructure/-/commit/4696cf29b59f42556f8270415281a67871a74482 [4] https://git.typo3.org/typo3/CI/testing-infrastructure/-/commit/6a77e8061989056a593c9cf1888c8d0a04356755 Resolves: #107054 Releases: main, 13.4, 12.4 Change-Id: I71b08475918bf6cc1b95f932301dad83c144f33a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/90022 Reviewed-by: Stefan Bürk <[email protected]> Tested-by: core-ci <[email protected]> Tested-by: Stefan Bürk <[email protected]>
1 parent 4ab9073 commit 9a9ede9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Build/Scripts/runTests.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ getPhpImageVersion() {
175175
8.4)
176176
echo -n "1.6"
177177
;;
178+
8.5)
179+
echo -n "1.0"
180+
;;
178181
esac
179182
}
180183

@@ -318,12 +321,13 @@ Options:
318321
Hack functional or acceptance tests into #numberOfChunks pieces and run tests of #chunk.
319322
Example -c 3/13
320323
321-
-p <8.1|8.2|8.3|8.4>
324+
-p <8.1|8.2|8.3|8.4|8.5>
322325
Specifies the PHP minor version to be used
323326
- 8.1 (default): use PHP 8.1
324327
- 8.2: use PHP 8.2
325328
- 8.3: use PHP 8.3
326329
- 8.4: use PHP 8.4
330+
- 8.5: use PHP 8.5
327331
328332
-g
329333
Only with -s acceptance|acceptanceComposer|acceptanceInstall
@@ -471,7 +475,7 @@ while getopts ":a:b:s:c:d:i:p:xy:nhug" OPT; do
471475
;;
472476
p)
473477
PHP_VERSION=${OPTARG}
474-
if ! [[ ${PHP_VERSION} =~ ^(8.1|8.2|8.3|8.4)$ ]]; then
478+
if ! [[ ${PHP_VERSION} =~ ^(8.1|8.2|8.3|8.4|8.5)$ ]]; then
475479
INVALID_OPTIONS+=("${OPTARG}")
476480
fi
477481
;;

0 commit comments

Comments
 (0)