Skip to content

Commit 2f1ead8

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/+/90021 Tested-by: core-ci <[email protected]> Tested-by: Stefan Bürk <[email protected]> Reviewed-by: Stefan Bürk <[email protected]>
1 parent 23badc2 commit 2f1ead8

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
@@ -172,6 +172,9 @@ getPhpImageVersion() {
172172
8.4)
173173
echo -n "1.6"
174174
;;
175+
8.5)
176+
echo -n "1.0"
177+
;;
175178
esac
176179
}
177180

@@ -376,11 +379,12 @@ Options:
376379
Hack functional or acceptance tests into #numberOfChunks pieces and run tests of #chunk.
377380
Example -c 3/13
378381
379-
-p <8.2|8.3|8.4>
382+
-p <8.2|8.3|8.4|8.5>
380383
Specifies the PHP minor version to be used
381384
- 8.2 (default): use PHP 8.2
382385
- 8.3: use PHP 8.3
383386
- 8.4: use PHP 8.4
387+
- 8.5: use PHP 8.5
384388
385389
-t sets|systemplate
386390
Only with -s acceptance|acceptanceComposer
@@ -535,7 +539,7 @@ while getopts ":a:b:s:c:d:i:t:p:xy:nhug" OPT; do
535539
;;
536540
p)
537541
PHP_VERSION=${OPTARG}
538-
if ! [[ ${PHP_VERSION} =~ ^(8.2|8.3|8.4)$ ]]; then
542+
if ! [[ ${PHP_VERSION} =~ ^(8.2|8.3|8.4|8.5)$ ]]; then
539543
INVALID_OPTIONS+=("${OPTARG}")
540544
fi
541545
;;

0 commit comments

Comments
 (0)