Skip to content

Commit ea4b14f

Browse files
authored
[MAINTENANCE] Drop support for PHP 7.4 and 8.0 (kitodo#1458)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent 90e66f5 commit ea4b14f

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
variants: [ {typo3: 11.5, php: 7.4}, {typo3: 12.4, php: 8.1} ]
15+
variants: [ {typo3: 11.5, php: 8.1}, {typo3: 12.4, php: 8.1} ]
1616
steps:
1717
- name: Checkout code
1818
uses: actions/checkout@v4

Build/Test/runTests.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ a recent docker compose (tested >=2.27.1) is needed.
6565
6666
Usage: $0 [options] [file]
6767
68-
No arguments: Run all unit tests with PHP 7.4
68+
No arguments: Run all unit tests with PHP 8.1
6969
7070
Options:
7171
-s <...>
@@ -113,10 +113,8 @@ Options:
113113
- 5.7
114114
- 8.0 (default)
115115
116-
-p <7.4|8.0|8.1|8.2|8.3>
116+
-p <8.1|8.2|8.3>
117117
Specifies the PHP minor version to be used
118-
- 7.4: use PHP 7.4
119-
- 8.0: use PHP 8.0
120118
- 8.1: use PHP 8.1 (default)
121119
- 8.2: use PHP 8.2
122120
- 8.3: use PHP 8.3
@@ -220,7 +218,7 @@ while getopts ":a:s:t:d:i:j:p:e:xy:whuv" OPT; do
220218
;;
221219
p)
222220
PHP_VERSION=${OPTARG}
223-
if ! [[ ${PHP_VERSION} =~ ^(7.4|8.0|8.1|8.2|8.3)$ ]]; then
221+
if ! [[ ${PHP_VERSION} =~ ^(8.1|8.2|8.3)$ ]]; then
224222
INVALID_OPTIONS+=("${OPTARG}")
225223
fi
226224
;;
@@ -266,7 +264,7 @@ if [ ${#INVALID_OPTIONS[@]} -ne 0 ]; then
266264
exit 1
267265
fi
268266

269-
# Move "7.4" to "php74", the latter is the docker container name
267+
# Move "8.x" to "php8x", the latter is the docker container name
270268
DOCKER_PHP_IMAGE=$(echo "php${PHP_VERSION}" | sed -e 's/\.//')
271269

272270
# Set $1 to first mass argument, this is the optional test file or test directory to execute

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Before running any of the tests, please install the project dependencies. Choose which version of TYPO3 you would like to test against.
66

77
```bash
8-
# If you use PHP 7.4 (supported by Kitodo)
8+
# If you use PHP 8.1 (supported by Kitodo)
99
composer update --with=typo3/cms-core:^11.5
1010

1111
# If you use PHP 8

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"docs": "https://docs.typo3.org/p/kitodo/presentation/main/en-us/"
2626
},
2727
"require": {
28-
"php": "7.4 - 8.3",
28+
"php": "8.1 - 8.3",
2929
"ext-curl": "*",
3030
"ext-dom": "*",
3131
"ext-json": "*",

ext_emconf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
'category' => 'misc',
1818
'constraints' => [
1919
'depends' => [
20-
'php' => '7.4.0-8.3.99',
20+
'php' => '8.1.0-8.3.99',
2121
'typo3' => '11.5.0-12.4.99'
2222
],
2323
'conflicts' => [],

0 commit comments

Comments
 (0)