From 4d14e9e4cc720319c2aa2153f13995d48078a76e Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Tue, 8 May 2018 14:24:19 +0200 Subject: [PATCH] drop hhvm support as its no longer working --- .travis.yml | 2 -- composer.json | 2 +- spec/Encoding/ChunkStreamSpec.php | 4 ---- spec/Encoding/CompressStreamSpec.php | 4 ---- spec/Encoding/DechunkStreamSpec.php | 4 ---- spec/Encoding/DecompressStreamSpec.php | 4 ---- spec/Encoding/GzipDecodeStreamSpec.php | 4 ---- spec/Encoding/GzipEncodeStreamSpec.php | 4 ---- 8 files changed, 1 insertion(+), 27 deletions(-) diff --git a/.travis.yml b/.travis.yml index fc08ee1..21b2f27 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,8 +26,6 @@ matrix: include: - php: 5.4 env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci" - - php: hhvm - dist: trusty before_install: - if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi diff --git a/composer.json b/composer.json index 3769d2a..3a9b3ed 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ } ], "require": { - "php": ">=5.4", + "php": "^5.4 || ^7.0", "psr/http-message": "^1.0", "php-http/message-factory": "^1.0.2", "clue/stream-filter": "^1.4" diff --git a/spec/Encoding/ChunkStreamSpec.php b/spec/Encoding/ChunkStreamSpec.php index 356795b..68a078e 100644 --- a/spec/Encoding/ChunkStreamSpec.php +++ b/spec/Encoding/ChunkStreamSpec.php @@ -12,10 +12,6 @@ class ChunkStreamSpec extends ObjectBehavior function let(StreamInterface $stream) { - if (defined('HHVM_VERSION')) { - throw new SkippingException('Skipping test as there is no dechunk filter on hhvm'); - } - $this->beConstructedWith($stream); } diff --git a/spec/Encoding/CompressStreamSpec.php b/spec/Encoding/CompressStreamSpec.php index 0a1bc22..04efda6 100644 --- a/spec/Encoding/CompressStreamSpec.php +++ b/spec/Encoding/CompressStreamSpec.php @@ -12,10 +12,6 @@ class CompressStreamSpec extends ObjectBehavior function let(StreamInterface $stream) { - if (defined('HHVM_VERSION')) { - throw new SkippingException('Skipping test as zlib is not working on hhvm'); - } - $this->beConstructedWith($stream); } diff --git a/spec/Encoding/DechunkStreamSpec.php b/spec/Encoding/DechunkStreamSpec.php index 70608eb..3616d1b 100644 --- a/spec/Encoding/DechunkStreamSpec.php +++ b/spec/Encoding/DechunkStreamSpec.php @@ -12,10 +12,6 @@ class DechunkStreamSpec extends ObjectBehavior function let(StreamInterface $stream) { - if (defined('HHVM_VERSION')) { - throw new SkippingException('Skipping test as there is no dechunk filter on hhvm'); - } - $this->beConstructedWith($stream); } diff --git a/spec/Encoding/DecompressStreamSpec.php b/spec/Encoding/DecompressStreamSpec.php index 12b7b21..baafad0 100644 --- a/spec/Encoding/DecompressStreamSpec.php +++ b/spec/Encoding/DecompressStreamSpec.php @@ -12,10 +12,6 @@ class DecompressStreamSpec extends ObjectBehavior function let(StreamInterface $stream) { - if (defined('HHVM_VERSION')) { - throw new SkippingException('Skipping test as zlib is not working on hhvm'); - } - $this->beConstructedWith($stream); } diff --git a/spec/Encoding/GzipDecodeStreamSpec.php b/spec/Encoding/GzipDecodeStreamSpec.php index 1e379b9..17b8dea 100644 --- a/spec/Encoding/GzipDecodeStreamSpec.php +++ b/spec/Encoding/GzipDecodeStreamSpec.php @@ -12,10 +12,6 @@ class GzipDecodeStreamSpec extends ObjectBehavior function let(StreamInterface $stream) { - if (defined('HHVM_VERSION')) { - throw new SkippingException('Skipping test as zlib is not working on hhvm'); - } - $this->beConstructedWith($stream); } diff --git a/spec/Encoding/GzipEncodeStreamSpec.php b/spec/Encoding/GzipEncodeStreamSpec.php index dd51b2b..2037be5 100644 --- a/spec/Encoding/GzipEncodeStreamSpec.php +++ b/spec/Encoding/GzipEncodeStreamSpec.php @@ -12,10 +12,6 @@ class GzipEncodeStreamSpec extends ObjectBehavior function let(StreamInterface $stream) { - if (defined('HHVM_VERSION')) { - throw new SkippingException('Skipping test as zlib is not working on hhvm'); - } - $this->beConstructedWith($stream); }