diff --git a/.travis.yml b/.travis.yml index 7c466c1..2abd083 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,9 @@ php: - 5.5 - 5.6 - 7.0 - - hhvm + - 7.1 + - 7.2 + - 7.3 env: global: diff --git a/spec/ContentLengthPluginSpec.php b/spec/ContentLengthPluginSpec.php index 0fa463f..d0dedf0 100644 --- a/spec/ContentLengthPluginSpec.php +++ b/spec/ContentLengthPluginSpec.php @@ -28,10 +28,6 @@ function it_adds_content_length_header(RequestInterface $request, StreamInterfac function it_streams_chunked_if_no_size(RequestInterface $request, StreamInterface $stream) { - if(defined('HHVM_VERSION')) { - throw new SkippingException('Skipping test on hhvm, as there is no chunk encoding on hhvm'); - } - $request->hasHeader('Content-Length')->shouldBeCalled()->willReturn(false); $request->getBody()->shouldBeCalled()->willReturn($stream); diff --git a/spec/DecoderPluginSpec.php b/spec/DecoderPluginSpec.php index 4408898..2b846ad 100644 --- a/spec/DecoderPluginSpec.php +++ b/spec/DecoderPluginSpec.php @@ -24,10 +24,6 @@ function it_is_a_plugin() function it_decodes(RequestInterface $request, ResponseInterface $response, StreamInterface $stream) { - if(defined('HHVM_VERSION')) { - throw new SkippingException('Skipping test on hhvm, as there is no chunk encoding on hhvm'); - } - $request->withHeader('TE', ['gzip', 'deflate', 'compress', 'chunked'])->shouldBeCalled()->willReturn($request); $request->withHeader('Accept-Encoding', ['gzip', 'deflate', 'compress'])->shouldBeCalled()->willReturn($request); $next = function () use($response) {