Skip to content

Commit

Permalink
[!!!][TASK] Drop support for PHP < 8.1 (#1576)
Browse files Browse the repository at this point in the history
As this is not supported by current TYPO3 LTS versions.

Resolves: #1566
  • Loading branch information
DanielSiepmann authored and Starkmann committed Feb 3, 2025
1 parent 736312c commit 70a76f7
Show file tree
Hide file tree
Showing 15 changed files with 5 additions and 151 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ jobs:
fail-fast: false
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
- "8.3"
Expand Down Expand Up @@ -159,18 +157,6 @@ jobs:
fail-fast: false
matrix:
include:
- typo3-version: "^11.5"
php-version: "7.4"
composer-dependencies: lowest
- typo3-version: "^11.5"
php-version: "7.4"
composer-dependencies: highest
- typo3-version: "^11.5"
php-version: "8.0"
composer-dependencies: lowest
- typo3-version: "^11.5"
php-version: "8.0"
composer-dependencies: highest
- typo3-version: "^11.5"
php-version: "8.1"
composer-dependencies: lowest
Expand Down Expand Up @@ -266,18 +252,6 @@ jobs:
fail-fast: false
matrix:
include:
- typo3-version: "^11.5"
php-version: "7.4"
composer-dependencies: lowest
- typo3-version: "^11.5"
php-version: "7.4"
composer-dependencies: highest
- typo3-version: "^11.5"
php-version: "8.0"
composer-dependencies: lowest
- typo3-version: "^11.5"
php-version: "8.0"
composer-dependencies: highest
- typo3-version: "^11.5"
php-version: "8.1"
composer-dependencies: lowest
Expand Down
14 changes: 0 additions & 14 deletions .gitlab/pipeline/jobs/func-php7.4-v11-highest.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .gitlab/pipeline/jobs/func-php7.4-v11-lowest.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .gitlab/pipeline/jobs/func-php8.0-v11-highest.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .gitlab/pipeline/jobs/func-php8.0-v11-lowest.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .gitlab/pipeline/jobs/php-lint-php7.4.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .gitlab/pipeline/jobs/php-lint-php8.0.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .gitlab/pipeline/jobs/unit-php7.4-v11-highest.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .gitlab/pipeline/jobs/unit-php7.4-v11-lowest.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .gitlab/pipeline/jobs/unit-php8.0-v11-highest.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .gitlab/pipeline/jobs/unit-php8.0-v11-lowest.yml

This file was deleted.

6 changes: 2 additions & 4 deletions Build/Scripts/runTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,8 @@ Options:
- 11.5: use TYPO3 v11 with typo3/cms-composer-installers ^3
- 12.4: (default) use TYPO3 v12 with typo3/cms-composer-installers ^5
-p <7.4|8.0|8.1|8.2|8.3|8.4>
-p <8.1|8.2|8.3|8.4>
Specifies the PHP minor version to be used
- 7.4: use PHP 7.4
- 8.0: use PHP 8.0
- 8.1: use PHP 8.1
- 8.2: use PHP 8.2
- 8.3: (default) use PHP 8.3
Expand Down Expand Up @@ -367,7 +365,7 @@ while getopts "a:b:s:d:i:p:e:t:xy:o:nhu" OPT; do
;;
p)
PHP_VERSION=${OPTARG}
if ! [[ ${PHP_VERSION} =~ ^(7.4|8.0|8.1|8.2|8.3|8.4)$ ]]; then
if ! [[ ${PHP_VERSION} =~ ^(8.1|8.2|8.3|8.4)$ ]]; then
INVALID_OPTIONS+=("-p ${OPTARG}")
fi
;;
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"docs": "https://docs.typo3.org/p/ttn/tea/main/en-us/"
},
"require": {
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"psr/http-message": "^1.0.1",
"typo3/cms-core": "^11.5.41 || ^12.4.26",
"typo3/cms-extbase": "^11.5.41 || ^12.4.26",
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'category' => 'example',
'constraints' => [
'depends' => [
'php' => '7.4.0-8.3.99',
'php' => '8.1.0-8.3.99',
'typo3' => '11.5.41-12.4.99',
'extbase' => '11.5.41-12.4.99',
'fluid' => '11.5.41-12.4.99',
Expand Down
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
])
->withImportNames(true, true, false)
->withConfiguredRule(ExtEmConfRector::class, [
ExtEmConfRector::PHP_VERSION_CONSTRAINT => '7.4.0-8.3.99',
ExtEmConfRector::PHP_VERSION_CONSTRAINT => '8.1.0-8.3.99',
ExtEmConfRector::TYPO3_VERSION_CONSTRAINT => '11.5.41-12.4.99',
ExtEmConfRector::ADDITIONAL_VALUES_TO_BE_REMOVED => [],
])
Expand Down

0 comments on commit 70a76f7

Please sign in to comment.