mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-22 23:46:10 +01:00

[TASK] Drop support for TYPO3 < 9.5 (#50)

This commit is contained in:
Oliver Klee 2019-08-12 15:54:29 +02:00 committed by GitHub
parent 64908dad96
commit fce8d64606
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 27 deletions

View file

@ -57,15 +57,9 @@ jobs:
- stage: test
php: "7.2"
env: TYPO3=^9.5
- stage: test
php: "7.2"
env: TYPO3=^8.7
- stage: test
php: "7.2"
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
if: tag IS present AND env(TYPO3_ORG_USERNAME) IS present AND env(TYPO3_ORG_PASSWORD) IS present
php: "7.2"

View file

@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
### Deprecated
### Removed
- Drop support for TYPO3 < 9.5 (#50)
- Drop support for PHP < 7.2 (#49)
- Drop support for TYPO3 7.6 and require TYPO3 >= 8.7 (#47)
- Drop the TYPO3 package repository from composer.json (#43)

View file

@ -7,7 +7,7 @@
[![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
extbase/fluid-based extensions for TYPO3 CMS using PHPUnit.
Extbase/Fluid-based extensions for TYPO3 CMS using PHPUnit.
It also is an example for
[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
```bash
composer require typo3/cms ^8.7
composer require typo3/cms ^9.5
composer install
git checkout HEAD -- composer.json
```

View file

@ -27,13 +27,13 @@
},
"require": {
"php": "~7.2",
"typo3/cms-core": "^8.7.10 || ^9.5.4",
"typo3/cms-extbase": "^8.7 || ^9.5",
"typo3/cms-fluid": "^8.7 || ^9.5",
"typo3/cms-frontend": "^8.7 || ^9.5"
"typo3/cms-core": "^9.5.4",
"typo3/cms-extbase": "^9.5",
"typo3/cms-fluid": "^9.5",
"typo3/cms-frontend": "^9.5"
},
"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",
"squizlabs/php_codesniffer": "^3.4.2",
"helmich/typo3-typoscript-lint": "^1.5.0",

View file

@ -7,7 +7,7 @@ $EM_CONF[$_EXTKEY] = [
'constraints' => [
'depends' => [
'php' => '7.2.0-7.2.99',
'typo3' => '8.7.0-9.5.99',
'typo3' => '9.5.0-9.5.99',
],
],
'state' => 'stable',

View file

@ -1,17 +1,5 @@
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,
description varchar(2000) DEFAULT '' NOT NULL,
image int(11) unsigned DEFAULT '0' NOT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
image int(11) unsigned DEFAULT '0' NOT NULL
);