mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 13:16:19 +01:00
[FEATURE] Allow installations on TYPO3 12 (#652)
This commit is contained in:
parent
19b8c4ef47
commit
6b957de595
5 changed files with 12 additions and 10 deletions
|
@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
||||||
## x.y.z
|
## x.y.z
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
- Add support for TYPO3 12 (#652)
|
||||||
- Add `.gitignore` entry for JetBrains Fleet editor (#642)
|
- Add `.gitignore` entry for JetBrains Fleet editor (#642)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
# Example TYPO3 extension for code quality checks and automated tests
|
# 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)
|
[![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)
|
[![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)
|
[![Total downloads](https://poser.pugx.org/ttn/tea/downloads.svg)](https://packagist.org/packages/ttn/tea)
|
||||||
|
|
|
@ -25,9 +25,9 @@ class TeaRepositoryTest extends UnitTestCase
|
||||||
|
|
||||||
if (\interface_exists(ObjectManagerInterface::class)) {
|
if (\interface_exists(ObjectManagerInterface::class)) {
|
||||||
$objectManager = $this->prophesize(ObjectManagerInterface::class)->reveal();
|
$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);
|
$this->subject = new TeaRepository($objectManager);
|
||||||
} else {
|
} else {
|
||||||
// @phpstan-ignore-next-line This line is valid in TYPO3 12LTS, but PHPStan uses 11LTS.
|
|
||||||
$this->subject = new TeaRepository();
|
$this->subject = new TeaRepository();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,10 +29,10 @@
|
||||||
"require": {
|
"require": {
|
||||||
"php": "~7.4.0 || ~8.0.0 || ~8.1.0",
|
"php": "~7.4.0 || ~8.0.0 || ~8.1.0",
|
||||||
"psr/http-message": "^1.0.1",
|
"psr/http-message": "^1.0.1",
|
||||||
"typo3/cms-core": "^11.5.4",
|
"typo3/cms-core": "^11.5.4 || ^12.0",
|
||||||
"typo3/cms-extbase": "^11.5.4",
|
"typo3/cms-extbase": "^11.5.4 || ^12.0",
|
||||||
"typo3/cms-fluid": "^11.5.4",
|
"typo3/cms-fluid": "^11.5.4 || ^12.0",
|
||||||
"typo3/cms-frontend": "^11.5.4"
|
"typo3/cms-frontend": "^11.5.4 || ^12.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"doctrine/dbal": "^2.13.8 || ^3.3.7",
|
"doctrine/dbal": "^2.13.8 || ^3.3.7",
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
"seld/jsonlint": "^1.9.0",
|
"seld/jsonlint": "^1.9.0",
|
||||||
"squizlabs/php_codesniffer": "^3.7.1",
|
"squizlabs/php_codesniffer": "^3.7.1",
|
||||||
"symfony/yaml": "^5.4 || ^6.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/coding-standards": "^0.5.5",
|
||||||
"typo3/testing-framework": "^7.0@dev"
|
"typo3/testing-framework": "^7.0@dev"
|
||||||
},
|
},
|
||||||
|
|
|
@ -8,10 +8,10 @@ $EM_CONF[$_EXTKEY] = [
|
||||||
'constraints' => [
|
'constraints' => [
|
||||||
'depends' => [
|
'depends' => [
|
||||||
'php' => '7.4.0-8.1.99',
|
'php' => '7.4.0-8.1.99',
|
||||||
'typo3' => '11.5.4-11.5.99',
|
'typo3' => '11.5.4-12.4.99',
|
||||||
'extbase' => '11.5.4-11.5.99',
|
'extbase' => '11.5.4-12.4.99',
|
||||||
'fluid' => '11.5.4-11.5.99',
|
'fluid' => '11.5.4-12.4.99',
|
||||||
'frontend' => '11.5.4-11.5.99',
|
'frontend' => '11.5.4-12.4.99',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'state' => 'stable',
|
'state' => 'stable',
|
||||||
|
|
Loading…
Reference in a new issue