mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 19:36:12 +01:00
[TASK] Drop support for TYPO3 < 9.5 (#50)
This commit is contained in:
parent
64908dad96
commit
fce8d64606
6 changed files with 10 additions and 27 deletions
|
@ -57,15 +57,9 @@ jobs:
|
||||||
- stage: test
|
- stage: test
|
||||||
php: "7.2"
|
php: "7.2"
|
||||||
env: TYPO3=^9.5
|
env: TYPO3=^9.5
|
||||||
- stage: test
|
|
||||||
php: "7.2"
|
|
||||||
env: TYPO3=^8.7
|
|
||||||
- stage: test
|
- stage: test
|
||||||
php: "7.2"
|
php: "7.2"
|
||||||
env: TYPO3=^9.5 DEPENDENCIES_PREFERENCE="--prefer-lowest"
|
env: TYPO3=^9.5 DEPENDENCIES_PREFERENCE="--prefer-lowest"
|
||||||
- stage: test
|
|
||||||
php: "7.2"
|
|
||||||
env: TYPO3=^8.7 DEPENDENCIES_PREFERENCE="--prefer-lowest"
|
|
||||||
- stage: release to ter
|
- stage: release to ter
|
||||||
if: tag IS present AND env(TYPO3_ORG_USERNAME) IS present AND env(TYPO3_ORG_PASSWORD) IS present
|
if: tag IS present AND env(TYPO3_ORG_USERNAME) IS present AND env(TYPO3_ORG_PASSWORD) IS present
|
||||||
php: "7.2"
|
php: "7.2"
|
||||||
|
|
|
@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
- Drop support for TYPO3 < 9.5 (#50)
|
||||||
- Drop support for PHP < 7.2 (#49)
|
- Drop support for PHP < 7.2 (#49)
|
||||||
- Drop support for TYPO3 7.6 and require TYPO3 >= 8.7 (#47)
|
- Drop support for TYPO3 7.6 and require TYPO3 >= 8.7 (#47)
|
||||||
- Drop the TYPO3 package repository from composer.json (#43)
|
- Drop the TYPO3 package repository from composer.json (#43)
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
[![License](https://poser.pugx.org/oliverklee/tea/license.svg)](https://packagist.org/packages/oliverklee/tea)
|
[![License](https://poser.pugx.org/oliverklee/tea/license.svg)](https://packagist.org/packages/oliverklee/tea)
|
||||||
|
|
||||||
This TYPO3 extension is an example for writing unit and functional tests for
|
This TYPO3 extension is an example for writing unit and functional tests for
|
||||||
extbase/fluid-based extensions for TYPO3 CMS using PHPUnit.
|
Extbase/Fluid-based extensions for TYPO3 CMS using PHPUnit.
|
||||||
|
|
||||||
It also is an example for
|
It also is an example for
|
||||||
[best practices for extbase/fluid](https://github.com/oliverklee/workshop-handouts/tree/master/extbase-best-practices).
|
[best practices for extbase/fluid](https://github.com/oliverklee/workshop-handouts/tree/master/extbase-best-practices).
|
||||||
|
@ -26,7 +26,7 @@ at the [handout to my workshops on test-driven development (TDD)](https://github
|
||||||
### General PHPUnit setup
|
### General PHPUnit setup
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
composer require typo3/cms ^8.7
|
composer require typo3/cms ^9.5
|
||||||
composer install
|
composer install
|
||||||
git checkout HEAD -- composer.json
|
git checkout HEAD -- composer.json
|
||||||
```
|
```
|
||||||
|
|
|
@ -27,13 +27,13 @@
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "~7.2",
|
"php": "~7.2",
|
||||||
"typo3/cms-core": "^8.7.10 || ^9.5.4",
|
"typo3/cms-core": "^9.5.4",
|
||||||
"typo3/cms-extbase": "^8.7 || ^9.5",
|
"typo3/cms-extbase": "^9.5",
|
||||||
"typo3/cms-fluid": "^8.7 || ^9.5",
|
"typo3/cms-fluid": "^9.5",
|
||||||
"typo3/cms-frontend": "^8.7 || ^9.5"
|
"typo3/cms-frontend": "^9.5"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"typo3/cms-fluid-styled-content": "^8.7 || ^9.5",
|
"typo3/cms-fluid-styled-content": "^9.5",
|
||||||
"helhum/typo3-composer-setup": "^0.5.4",
|
"helhum/typo3-composer-setup": "^0.5.4",
|
||||||
"squizlabs/php_codesniffer": "^3.4.2",
|
"squizlabs/php_codesniffer": "^3.4.2",
|
||||||
"helmich/typo3-typoscript-lint": "^1.5.0",
|
"helmich/typo3-typoscript-lint": "^1.5.0",
|
||||||
|
|
|
@ -7,7 +7,7 @@ $EM_CONF[$_EXTKEY] = [
|
||||||
'constraints' => [
|
'constraints' => [
|
||||||
'depends' => [
|
'depends' => [
|
||||||
'php' => '7.2.0-7.2.99',
|
'php' => '7.2.0-7.2.99',
|
||||||
'typo3' => '8.7.0-9.5.99',
|
'typo3' => '9.5.0-9.5.99',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'state' => 'stable',
|
'state' => 'stable',
|
||||||
|
|
|
@ -1,17 +1,5 @@
|
||||||
CREATE TABLE tx_tea_domain_model_product_tea (
|
CREATE TABLE tx_tea_domain_model_product_tea (
|
||||||
uid int(11) NOT NULL auto_increment,
|
|
||||||
pid int(11) DEFAULT '0' NOT NULL,
|
|
||||||
|
|
||||||
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
|
|
||||||
crdate int(11) unsigned DEFAULT '0' NOT NULL,
|
|
||||||
cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
|
|
||||||
deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
|
|
||||||
hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
|
|
||||||
|
|
||||||
title varchar(255) DEFAULT '' NOT NULL,
|
title varchar(255) DEFAULT '' NOT NULL,
|
||||||
description varchar(2000) DEFAULT '' NOT NULL,
|
description varchar(2000) DEFAULT '' NOT NULL,
|
||||||
image int(11) unsigned DEFAULT '0' NOT NULL,
|
image int(11) unsigned DEFAULT '0' NOT NULL
|
||||||
|
|
||||||
PRIMARY KEY (uid),
|
|
||||||
KEY parent (pid)
|
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue