From 52e1da1b50831be31054018b0ff2d3a309606b18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Thu, 8 Feb 2018 13:19:49 +0100 Subject: [PATCH] Support legacy PHP 5.3 through PHP 7.2 and HHVM --- .travis.yml | 8 +++++++- README.md | 2 +- composer.json | 6 +++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7183822..ff544ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,22 @@ language: php php: +# - 5.3 # requires old distro - 5.4 - 5.5 - 5.6 - - 7 + - 7.0 + - 7.1 + - 7.2 - hhvm # ignore errors, see below # lock distro so new future defaults will not break the build dist: trusty matrix: + include: + - php: 5.3 + dist: precise allow_failures: - php: hhvm diff --git a/README.md b/README.md index 5151091..c9dad9e 100644 --- a/README.md +++ b/README.md @@ -506,7 +506,7 @@ $ composer require clue/buzz-react:^2.2 See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades. This project aims to run on any platform and thus does not require any PHP -extensions and supports running on legacy PHP 5.4 through current PHP 7+ and +extensions and supports running on legacy PHP 5.3 through current PHP 7+ and HHVM. It's *highly recommended to use PHP 7+* for this project. diff --git a/composer.json b/composer.json index 071fd9e..80cc86f 100644 --- a/composer.json +++ b/composer.json @@ -14,11 +14,11 @@ "psr-4": { "Clue\\React\\Buzz\\": "src/" } }, "require": { - "php": ">=5.4", + "php": ">=5.3", "psr/http-message": "^1.0", "react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3", - "react/http-client": "^0.5.6", - "react/promise": "^2.2.1", + "react/http-client": "^0.5.8", + "react/promise": "^2.2.1 || ^1.2.1", "react/promise-stream": "^1.0 || ^0.1.1", "react/socket": "^1.0 || ^0.8.4", "react/stream": "^1.0 || ^0.7",