From b96152a1e23c1bb27144ff7980781ca20b7b4ed6 Mon Sep 17 00:00:00 2001 From: Karel Souffriau Date: Wed, 19 Jan 2022 00:04:18 +0100 Subject: [PATCH] Add PHP 8 support --- .github/workflows/ci.yaml | 5 ++++- composer.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0f698955a..49d20126e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -33,12 +33,15 @@ jobs: strategy: matrix: include: - - php: '7.2' + - php: '7.4' dependencies: 'lowest' symfony_require: '3.4.*' - php: '7.4' dependencies: 'highest' symfony_require: '4.4.*' + - php: '8.0' + dependencies: 'highest' + symfony_require: '4.4.*' fail-fast: false steps: - name: Checkout diff --git a/composer.json b/composer.json index 690a8ddb6..526c07d2b 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "issues": "https://github.com/FriendsOfSymfony/FOSCommentBundle/issues" }, "require": { - "php": "^7.2", + "php": "^7.4 || ^8.0", "friendsofsymfony/rest-bundle": "~2.8", "jms/serializer-bundle": "~2.0|~3.0", "symfony/framework-bundle": "~3.4|^4.3",