From 6868fec4e20b51f831410981cb7b20f9dbbc9bcf Mon Sep 17 00:00:00 2001 From: Lars Lauger Date: Sun, 5 Jun 2022 22:08:50 +0200 Subject: [PATCH] TASK: Drop support for Flow 5 & 6 The AbstractExceptionHandler is no longer compatible and tests are not run as the phpunit.xml.dist file cannot be parsed on old phpunit versions. --- .github/workflows/functionaltests.yml | 20 ++------------------ .github/workflows/unittests.yml | 20 ++------------------ README.md | 2 -- composer.json | 4 ++-- 4 files changed, 6 insertions(+), 40 deletions(-) diff --git a/.github/workflows/functionaltests.yml b/.github/workflows/functionaltests.yml index 2530be7..e955590 100644 --- a/.github/workflows/functionaltests.yml +++ b/.github/workflows/functionaltests.yml @@ -10,26 +10,10 @@ jobs: strategy: fail-fast: false matrix: - php-version: [ 7.2, 7.3, 7.4, 8.0, 8.1 ] - flow-version: [ 5.3, 6.3, 7.3, 8.0 ] + php-version: [ 7.3, 7.4, 8.0, 8.1 ] + flow-version: [ 7.3, 8.0 ] exclude: - # Disable Flow 5.3 and 6.3 on PHP 8.0, as only ^7.2 is supported - - php-version: 8.0 - flow-version: 5.3 - - php-version: 8.0 - flow-version: 6.3 - - php-version: 8.1 - flow-version: 5.3 - - php-version: 8.1 - flow-version: 6.3 - - # Disable Flow 7.0 on PHP 7.2, as 7.3 is required - - php-version: 7.2 - flow-version: 7.3 - # Disable Flow 8.0 on PHP 7, as 8.0 is required - - php-version: 7.2 - flow-version: 8.0 - php-version: 7.3 flow-version: 8.0 - php-version: 7.4 diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index bd2ed67..c9c0932 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -10,26 +10,10 @@ jobs: strategy: fail-fast: false matrix: - php-version: [ 7.2, 7.3, 7.4, 8.0, 8.1 ] - flow-version: [ 5.3, 6.3, 7.3, 8.0 ] + php-version: [ 7.3, 7.4, 8.0, 8.1 ] + flow-version: [ 7.3, 8.0 ] exclude: - # Disable Flow 5.3 and 6.3 on PHP 8.0, as only ^7.2 is supported - - php-version: 8.0 - flow-version: 5.3 - - php-version: 8.0 - flow-version: 6.3 - - php-version: 8.1 - flow-version: 5.3 - - php-version: 8.1 - flow-version: 6.3 - - # Disable Flow 7.0 on PHP 7.2, as 7.3 is required - - php-version: 7.2 - flow-version: 7.3 - # Disable Flow 8.0 on PHP 7, as 8.0 is required - - php-version: 7.2 - flow-version: 8.0 - php-version: 7.3 flow-version: 8.0 - php-version: 7.4 diff --git a/README.md b/README.md index 364a446..21fbf3e 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,6 @@ fit your needs. Currently the following Flow versions are supported: -* `^5.3` -* `^6.3` * `^7.3` * `^8.0` diff --git a/composer.json b/composer.json index 27e34a8..9c96d09 100644 --- a/composer.json +++ b/composer.json @@ -4,8 +4,8 @@ "type": "neos-package", "license": "MIT", "require": { - "php": "^7.2 || ^8.0", - "neos/flow": "^5.3 || ^6.3 || ^7.3.6 || ^8.0.4", + "php": "^7.3 || ^8.0", + "neos/flow": "^7.3.6 || ^8.0.4", "sentry/sdk": "^3.1" }, "autoload": {