mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2025-03-16 13:03:53 +01:00

Compare commits

...

2 commits

Author SHA1 Message Date
Oliver Klee
44429528fd
[FEATURE] Add support for PHP 8.4 ()
Comment-out GitHub Action jobs that fail with PHP 8.4 due to
incompatible dependencies.
2025-02-03 14:27:04 +01:00
Oliver Klee
c9d6e8742e
[TASK] Drop support for Symfony 5.x ()
As we now require TYPO3 >= 12LTS, and as that version requires
Symfony >= 6.x, we now can safely drop support for Symfony 5.x
2025-02-03 14:25:20 +01:00
10 changed files with 69 additions and 6 deletions

View file

@ -44,6 +44,7 @@ jobs:
- "8.1" - "8.1"
- "8.2" - "8.2"
- "8.3" - "8.3"
- "8.4"
code-quality: code-quality:
name: "Code quality checks" name: "Code quality checks"
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
@ -174,6 +175,12 @@ jobs:
- typo3-version: "^12.4" - typo3-version: "^12.4"
php-version: "8.3" php-version: "8.3"
composer-dependencies: highest composer-dependencies: highest
- typo3-version: "^12.4"
php-version: "8.4"
composer-dependencies: lowest
- typo3-version: "^12.4"
php-version: "8.4"
composer-dependencies: highest
functional-tests: functional-tests:
name: "Functional tests" name: "Functional tests"
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
@ -251,6 +258,12 @@ jobs:
- typo3-version: "^12.4" - typo3-version: "^12.4"
php-version: "8.3" php-version: "8.3"
composer-dependencies: highest composer-dependencies: highest
# - typo3-version: "^12.4"
# php-version: "8.4"
# composer-dependencies: lowest
- typo3-version: "^12.4"
php-version: "8.4"
composer-dependencies: highest
shellcheck: shellcheck:
name: Check shell scripts name: Check shell scripts
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04

View file

@ -20,6 +20,8 @@ include:
- '/.gitlab/pipeline/jobs/func-v12-php8.2-lowest.yml' - '/.gitlab/pipeline/jobs/func-v12-php8.2-lowest.yml'
- '/.gitlab/pipeline/jobs/func-v12-php8.3-highest.yml' - '/.gitlab/pipeline/jobs/func-v12-php8.3-highest.yml'
- '/.gitlab/pipeline/jobs/func-v12-php8.3-lowest.yml' - '/.gitlab/pipeline/jobs/func-v12-php8.3-lowest.yml'
- '/.gitlab/pipeline/jobs/func-v12-php8.4-highest.yml'
- '/.gitlab/pipeline/jobs/func-v12-php8.4-lowest.yml'
- '/.gitlab/pipeline/jobs/javascript-lint.yml' - '/.gitlab/pipeline/jobs/javascript-lint.yml'
- '/.gitlab/pipeline/jobs/json-lint.yml' - '/.gitlab/pipeline/jobs/json-lint.yml'
- '/.gitlab/pipeline/jobs/php-cs-fixer.yml' - '/.gitlab/pipeline/jobs/php-cs-fixer.yml'
@ -34,6 +36,7 @@ include:
- '/.gitlab/pipeline/jobs/unit-v12-php8.2-lowest.yml' - '/.gitlab/pipeline/jobs/unit-v12-php8.2-lowest.yml'
- '/.gitlab/pipeline/jobs/unit-v12-php8.3-highest.yml' - '/.gitlab/pipeline/jobs/unit-v12-php8.3-highest.yml'
- '/.gitlab/pipeline/jobs/unit-v12-php8.3-lowest.yml' - '/.gitlab/pipeline/jobs/unit-v12-php8.3-lowest.yml'
- '/.gitlab/pipeline/jobs/unit-v12-php8.4-highest.yml'
- '/.gitlab/pipeline/jobs/xliff-lint.yml' - '/.gitlab/pipeline/jobs/xliff-lint.yml'
- '/.gitlab/pipeline/jobs/yaml-lint.yml' - '/.gitlab/pipeline/jobs/yaml-lint.yml'
- template: Security/Secret-Detection.gitlab-ci.yml - template: Security/Secret-Detection.gitlab-ci.yml

View file

@ -0,0 +1,14 @@
func-v12-php8.4-highest:
extends: .default
image: ghcr.io/typo3/core-testing-php84:latest
services:
- mariadb:10
stage: test
needs:
- build-composer-dependencies
- php-lint-php8.4
script:
- echo "Job ${CI_JOB_NAME}"
- composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^12.4"
- composer update --no-ansi --no-interaction --no-progress --with-dependencies
- composer ci:tests:functional

View file

@ -0,0 +1,14 @@
func-v12-php8.4-lowest:
extends: .default
image: ghcr.io/typo3/core-testing-php84:latest
services:
- mariadb:10
stage: test
needs:
- build-composer-dependencies
- php-lint-php8.4
script:
- echo "Job ${CI_JOB_NAME}"
- composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^12.4"
- composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest
- composer ci:tests:functional

View file

@ -0,0 +1,7 @@
php-lint-php8.4:
extends: .composer-update
image: ghcr.io/typo3/core-testing-php84:latest
stage: lint
needs: [ ]
script:
- composer ci:php:lint

View file

@ -0,0 +1,11 @@
unit-v12-php8.4-highest:
extends: .default
image: ghcr.io/typo3/core-testing-php84:latest
stage: test
needs:
- build-composer-dependencies
- php-lint-php8.4
script:
- echo "Job ${CI_JOB_NAME}"
- composer require --no-progress typo3/cms-core:"^12.4"
- composer ci:tests:unit

View file

@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
## x.y.z ## x.y.z
### Added ### Added
- Add support for PHP 8.4 (#1536)
- Add support for PostgreSQL 16 (#1271) - Add support for PostgreSQL 16 (#1271)
### Changed ### Changed

View file

@ -39,7 +39,7 @@
"docs": "https://docs.typo3.org/p/ttn/tea/main/en-us/" "docs": "https://docs.typo3.org/p/ttn/tea/main/en-us/"
}, },
"require": { "require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0", "php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"psr/http-message": "^1.0.1", "psr/http-message": "^1.0.1",
"typo3/cms-core": "^12.4.26", "typo3/cms-core": "^12.4.26",
"typo3/cms-extbase": "^12.4.26", "typo3/cms-extbase": "^12.4.26",
@ -64,9 +64,9 @@
"spaze/phpstan-disallowed-calls": "4.2.1", "spaze/phpstan-disallowed-calls": "4.2.1",
"ssch/typo3-rector": "2.12.2", "ssch/typo3-rector": "2.12.2",
"ssch/typo3-rector-testing-framework": "2.0.1", "ssch/typo3-rector-testing-framework": "2.0.1",
"symfony/console": "5.4.47 || 6.4.17 || 7.2.1", "symfony/console": "6.4.17 || 7.2.1",
"symfony/translation": "5.4.45 || 6.4.13 || 7.2.2", "symfony/translation": "6.4.13 || 7.2.2",
"symfony/yaml": "5.4.45 || 6.4.18 || 7.2.3", "symfony/yaml": "6.4.18 || 7.2.3",
"tomasvotruba/cognitive-complexity": "0.2.3", "tomasvotruba/cognitive-complexity": "0.2.3",
"tomasvotruba/type-coverage": "1.0.0", "tomasvotruba/type-coverage": "1.0.0",
"typo3/cms-fluid-styled-content": "^12.4.26", "typo3/cms-fluid-styled-content": "^12.4.26",

View file

@ -7,7 +7,7 @@ $EM_CONF[$_EXTKEY] = [
'category' => 'example', 'category' => 'example',
'constraints' => [ 'constraints' => [
'depends' => [ 'depends' => [
'php' => '8.1.0-8.3.99', 'php' => '8.1.0-8.4.99',
'typo3' => '12.4.26-12.4.99', 'typo3' => '12.4.26-12.4.99',
'extbase' => '12.4.26-12.4.99', 'extbase' => '12.4.26-12.4.99',
'fluid' => '12.4.26-12.4.99', 'fluid' => '12.4.26-12.4.99',

View file

@ -94,7 +94,7 @@ return RectorConfig::configure()
]) ])
->withImportNames(true, true, false) ->withImportNames(true, true, false)
->withConfiguredRule(ExtEmConfRector::class, [ ->withConfiguredRule(ExtEmConfRector::class, [
ExtEmConfRector::PHP_VERSION_CONSTRAINT => '8.1.0-8.3.99', ExtEmConfRector::PHP_VERSION_CONSTRAINT => '8.1.0-8.4.99',
ExtEmConfRector::TYPO3_VERSION_CONSTRAINT => '12.4.26-12.4.99', ExtEmConfRector::TYPO3_VERSION_CONSTRAINT => '12.4.26-12.4.99',
ExtEmConfRector::ADDITIONAL_VALUES_TO_BE_REMOVED => [], ExtEmConfRector::ADDITIONAL_VALUES_TO_BE_REMOVED => [],
]) ])