Skip to content

Commit

Permalink
[TASK] Verify compatibility with PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
fsuter committed Dec 7, 2024
1 parent c70fdf2 commit 00e10b8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
5 changes: 3 additions & 2 deletions Build/Scripts/runTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,12 @@ Options:
- 15 maintained until 2027-11-11
- 16 maintained until 2028-11-09
-p <8.1|8.2|8.3>
-p <8.1|8.2|8.3|8.4>
Specifies the PHP minor version to be used
- 8.1: (default) use PHP 8.1
- 8.2: use PHP 8.2
- 8.3: use PHP 8.3
- 8.4: use PHP 8.4
-x
Only with -s functional|unit
Expand Down Expand Up @@ -291,7 +292,7 @@ while getopts "a:b:d:i:s:p:xy:nhu" OPT; do
;;
p)
PHP_VERSION=${OPTARG}
if ! [[ ${PHP_VERSION} =~ ^(8.1|8.2|8.3)$ ]]; then
if ! [[ ${PHP_VERSION} =~ ^(8.1|8.2|8.3|8.4)$ ]]; then
INVALID_OPTIONS+=("p ${OPTARG}")
fi
;;
Expand Down
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2024-12-07 Francois Suter (Idéative) <[email protected]>

* Verify compatibility with PHP 8.4

2024-11-26 Francois Suter (Idéative) <[email protected]>

* Verify compatibility with TYPO3 13 ELTS, resolves #28
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ test-cgl: ## Fix PHP coding styles
test-unit-8-1: ## Run unit tests with PHP 8.1 (lowest)
Build/Scripts/runTests.sh -s unit -p 8.1

.PHONY: test-unit-8-3
.PHONY: test-unit-8-4
test-unit-8-3: ## Run unit tests with PHP 8.3 (highest supported by TYPO3 11)
Build/Scripts/runTests.sh -s unit -p 8.3
Build/Scripts/runTests.sh -s unit -p 8.4

.PHONY: test-unit
test-unit: test-unit-8-1 test-unit-8-3## Run unit tests with PHP 8.1 and 8.3
Expand All @@ -45,9 +45,9 @@ test-unit: test-unit-8-1 test-unit-8-3## Run unit tests with PHP 8.1 and 8.3
test-functional-8-1: ## Run functional tests with PHP 8.1 and mariadb (lowest)
Build/Scripts/runTests.sh -s functional -p 8.1 -d mysql

.PHONY: test-functional-8-3
.PHONY: test-functional-8-4
test-functional-8-3: ## Run functional tests with PHP 8.3 and mariadb (highest supported by TYPO3 11)
Build/Scripts/runTests.sh -s functional -p 8.3 -d mysql
Build/Scripts/runTests.sh -s functional -p 8.4 -d mysql

.PHONY: test-functional
test-functional: test-functional-8-1 test-functional-8-3## Run functional tests with PHP 8.1 and 8.3
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
},
"require": {
"php": "^8.1 || ^8.2 || ^8.3",
"php": "^8.1 || ^8.2 || ^8.3 || ^8.4",
"ext-simplexml": "*",
"typo3/coding-standards": "*",
"typo3/cms-core": "^12.4 || ^13.4"
Expand Down

0 comments on commit 00e10b8

Please sign in to comment.