From 3025201ecd8569e6b41caeaec7a9bcf5f71bbdb2 Mon Sep 17 00:00:00 2001 From: Hannes Lau Date: Fri, 24 Jan 2020 11:20:49 +0100 Subject: [PATCH] [TASK] Raise compatibility to TYPO3 9 --- .travis.yml | 14 ++++++++++---- composer.json | 10 +++++----- ext_emconf.php | 4 ++-- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index d7ac453..2f76eef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ before_install: - if php -i | grep -q xdebug; then phpenv config-rm xdebug.ini; fi install: - - composer require typo3/cms="$TYPO3_VERSION" + - composer require typo3/minimal="$TYPO3_VERSION" - composer install jobs: @@ -23,10 +23,16 @@ jobs: env: TYPO3_VERSION=^8.7 - php: 7.2 env: TYPO3_VERSION=^8.7 + - php: 7.3 + env: TYPO3_VERSION=^8.7 + - php: 7.2 + env: TYPO3_VERSION=^9.5 + - php: 7.3 + env: TYPO3_VERSION=^9.5 - stage: test - php: 7.1 - env: TYPO3_VERSION=^8.7 + php: 7.2 + env: TYPO3_VERSION=^9.5 script: - composer lint - composer cgl @@ -34,7 +40,7 @@ jobs: - stage: deploy if: tag IS present - php: 7.1 + php: 7.2 before_install: skip install: skip before_script: skip diff --git a/composer.json b/composer.json index 68ab89a..1d649d3 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "Mjml view using mjml over npm", "type": "typo3-cms-extension", "homepage": "https://mjml.io", - "license": ["GPL-2.0+"], + "license": ["GPL-2.0-or-later"], "autoload": { "psr-4": { "Saccas\\Mjml\\": "Classes/" @@ -15,13 +15,13 @@ } }, "require": { - "php": ">=7.0.0 <=7.2.99", - "typo3/cms-core": "^8.7.0", - "typo3/cms-form": "^8.7.0" + "php": ">=7.1.0 <=7.3.99", + "typo3/cms-core": "^8.7.0 || ^9.5.0", + "typo3/cms-form": "^8.7.0 || ^9.5.0" }, "require-dev": { "squizlabs/php_codesniffer": "^3.2.0", - "typo3/cms": "^8.7.0", + "typo3/cms-core": "^8.7.0 || ^9.5.0", "typo3/testing-framework": "^1.2.2" }, "scripts": { diff --git a/ext_emconf.php b/ext_emconf.php index a46d1a5..c9d752f 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -17,8 +17,8 @@ $EM_CONF[$_EXTKEY] = [ ], 'constraints' => [ 'depends' => [ - 'php' => '7.1.0-7.2.99', - 'typo3' => '8.7.0-8.7.99', + 'php' => '7.1.0-7.3.99', + 'typo3' => '8.7.0-9.5.99', 'extbase' => '', ], 'conflicts' => [