From 78169d721fdbfb69a8fecf33043e77890a6ba42b Mon Sep 17 00:00:00 2001 From: Farabi Djauhari Date: Thu, 11 Feb 2021 15:47:39 +1100 Subject: [PATCH 1/2] PHP 8 compatibility --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 06ef139..feac9fc 100644 --- a/composer.json +++ b/composer.json @@ -6,10 +6,10 @@ "homepage": "https://enqueue.forma-pro.com/", "license": "MIT", "require": { - "php": "^7.1.3" + "php": "^7.1.3 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "~7.5" + "phpunit/phpunit": "^9.0" }, "support": { "email": "opensource@forma-pro.com", From ab18b1f8a16bc8fe746e6fff89d2eb34876966f4 Mon Sep 17 00:00:00 2001 From: Farabi Djauhari Date: Thu, 11 Feb 2021 15:55:03 +1100 Subject: [PATCH 2/2] Add PHP 8.0 check in the CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8486752..b23e421 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - php: ['7.3', '7.4'] + php: ['7.3', '7.4', '8.0'] name: PHP ${{ matrix.php }} tests