From 3d5850267ca866b127dadc4e99a4521789bfc740 Mon Sep 17 00:00:00 2001 From: Lars Lauger Date: Sat, 20 Mar 2021 20:21:03 +0100 Subject: [PATCH] TASK: Allow installation with php ^8.0 --- .github/workflows/functionaltests.yml | 8 +++++++- .github/workflows/unittests.yml | 10 ++++++++-- composer.json | 2 +- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/functionaltests.yml b/.github/workflows/functionaltests.yml index e0e1e8b..7632242 100644 --- a/.github/workflows/functionaltests.yml +++ b/.github/workflows/functionaltests.yml @@ -10,9 +10,15 @@ jobs: strategy: fail-fast: false matrix: - php-version: [ 7.2, 7.3, 7.4 ] + php-version: [ 7.2, 7.3, 7.4, 8.0 ] flow-version: [ 5.3, 6.3, 7.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 + # Disable Flow 7.0 on PHP 7.2, as 7.3 is required - php-version: 7.2 flow-version: 7.0 diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 31f4190..47525a7 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -10,10 +10,16 @@ jobs: strategy: fail-fast: false matrix: - php-version: [ 7.2, 7.3, 7.4 ] + php-version: [ 7.2, 7.3, 7.4, 8.0 ] flow-version: [ 5.3, 6.3, 7.0 ] exclude: - # Disable Flow 7.0 on PHP 7.2, as 7.3 is required + # 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 + + # Disable Flow 7.0 on PHP 7.2, as 7.3 is required - php-version: 7.2 flow-version: 7.0 diff --git a/composer.json b/composer.json index 2d10482..dc9d6db 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "type": "neos-package", "license": "MIT", "require": { - "php": "^7.2", + "php": "^7.2 || ^8.0", "neos/flow": "^5.3 || ^6.3 || ^7.0", "sentry/sdk": "^3.1" },