From ed64287ead4651a94471825a72034029416557a4 Mon Sep 17 00:00:00 2001 From: Domenic Del Nano Date: Sat, 6 Jun 2020 23:19:49 +0000 Subject: [PATCH 1/2] Add php 7.3 and 7.4 to the travis build. Remove php 5.4 and 5.5 --- .travis.yml | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index c233d93..af89435 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,12 +6,12 @@ before_install: - npm install - composer install php: - - "5.4" - - "5.5" - "5.6" - "7" - "7.1" - "7.2" + - "7.3" + - "7.4" script: - vendor/bin/phpcs --standard=psr2 -n src/ - vendor/bin/phpunit diff --git a/README.md b/README.md index c6e516f..1f3b4e7 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Hooks::beforeAll(function(&$transaction) { #### Requirements -- Must have php version 5.4 or greater. There is a plan to support older versions but no definitive plan of exactly when that will happen. +- Must have php version 5.6 or greater. Older versions of php may work but they are untested. `dredd-hooks-php` can be easily installed through the use of [Composer](https://getcomposer.org/). From 903b442aff7d4ef7012b08796f7a4bf3f3a9f5c7 Mon Sep 17 00:00:00 2001 From: Domenic Del Nano Date: Sat, 6 Jun 2020 23:20:19 +0000 Subject: [PATCH 2/2] Bump php version requirement in the composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 203b37e..a7345ef 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ } ], "require": { - "php": ">=5.4" + "php": ">=5.6" }, "bin": ["bin/dredd-hooks-php"], "require-dev": {