mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 13:36:13 +01:00

[FEATURE] Allow installations on TYPO3 12 (#652)

This commit is contained in:
Oliver Klee 2022-10-19 09:06:36 +02:00 committed by GitHub
parent 19b8c4ef47
commit 6b957de595
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 10 deletions

View file

@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
## x.y.z
### Added
- Add support for TYPO3 12 (#652)
- Add `.gitignore` entry for JetBrains Fleet editor (#642)
### Changed

View file

@ -1,5 +1,6 @@
# Example TYPO3 extension for code quality checks and automated tests
[![TYPO3 V12](https://img.shields.io/badge/TYPO3-12-orange.svg)](https://get.typo3.org/version/12)
[![TYPO3 V11](https://img.shields.io/badge/TYPO3-11-orange.svg)](https://get.typo3.org/version/11)
[![License](https://img.shields.io/github/license/TYPO3-Documentation/tea)](https://packagist.org/packages/ttn/tea)
[![Total downloads](https://poser.pugx.org/ttn/tea/downloads.svg)](https://packagist.org/packages/ttn/tea)

View file

@ -25,9 +25,9 @@ class TeaRepositoryTest extends UnitTestCase
if (\interface_exists(ObjectManagerInterface::class)) {
$objectManager = $this->prophesize(ObjectManagerInterface::class)->reveal();
// @phpstan-ignore-next-line This line is 11LTS-specific, but we're running PHPStan on TYPO3 12.
$this->subject = new TeaRepository($objectManager);
} else {
// @phpstan-ignore-next-line This line is valid in TYPO3 12LTS, but PHPStan uses 11LTS.
$this->subject = new TeaRepository();
}
}

View file

@ -29,10 +29,10 @@
"require": {
"php": "~7.4.0 || ~8.0.0 || ~8.1.0",
"psr/http-message": "^1.0.1",
"typo3/cms-core": "^11.5.4",
"typo3/cms-extbase": "^11.5.4",
"typo3/cms-fluid": "^11.5.4",
"typo3/cms-frontend": "^11.5.4"
"typo3/cms-core": "^11.5.4 || ^12.0",
"typo3/cms-extbase": "^11.5.4 || ^12.0",
"typo3/cms-fluid": "^11.5.4 || ^12.0",
"typo3/cms-frontend": "^11.5.4 || ^12.0"
},
"require-dev": {
"doctrine/dbal": "^2.13.8 || ^3.3.7",
@ -53,7 +53,7 @@
"seld/jsonlint": "^1.9.0",
"squizlabs/php_codesniffer": "^3.7.1",
"symfony/yaml": "^5.4 || ^6.1",
"typo3/cms-fluid-styled-content": "^11.5.4",
"typo3/cms-fluid-styled-content": "^11.5.4 || ^12.0",
"typo3/coding-standards": "^0.5.5",
"typo3/testing-framework": "^7.0@dev"
},

View file

@ -8,10 +8,10 @@ $EM_CONF[$_EXTKEY] = [
'constraints' => [
'depends' => [
'php' => '7.4.0-8.1.99',
'typo3' => '11.5.4-11.5.99',
'extbase' => '11.5.4-11.5.99',
'fluid' => '11.5.4-11.5.99',
'frontend' => '11.5.4-11.5.99',
'typo3' => '11.5.4-12.4.99',
'extbase' => '11.5.4-12.4.99',
'fluid' => '11.5.4-12.4.99',
'frontend' => '11.5.4-12.4.99',
],
],
'state' => 'stable',