From f8918d88ad543e305066d02d0d2fcf5ec4a7dd19 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Sun, 25 Apr 2021 11:11:52 +0200 Subject: [PATCH 1/2] Require PHP >= 5.6 Now the PHP version requirement is on par with WordPress: https://wordpress.org/support/article/requirements/ Fixes #207 --- .github/workflows/ci.yml | 4 ++-- CHANGELOG.md | 6 ++++++ composer.json | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e922f7f1..0e6de058 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - php-version: [ '5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4' ] + php-version: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4' ] steps: - name: Checkout @@ -39,7 +39,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: [ '5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3' ] + php-version: [ '5.6', '7.0', '7.1', '7.2', '7.3' ] coverage: [ 'none' ] include: - php-version: 7.4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 524fcd6b..bdcf6cbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Revision History +## x.y + +## x.y.z + +* Require PHP >= 5.6 + ## 8.0 ### 8.0.0 (2016-06-30) diff --git a/composer.json b/composer.json index c8efa113..71ffbfb3 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ {"name": "Raphael Schweikert"} ], "require": { - "php": ">=5.3.2" + "php": ">=5.6.20" }, "require-dev": { "phpunit/phpunit": "^4.8.36", From 6e700b71562909aba391215e8b3b4fa3e8a8e71b Mon Sep 17 00:00:00 2001 From: Raphael Schweikert Date: Wed, 5 May 2021 10:18:29 +0200 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bdcf6cbb..023ab997 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ ## x.y.z -* Require PHP >= 5.6 +* Require PHP ≥ 5.6 ## 8.0