Skip to content

Commit dafefdb

Browse files
authored
Merge pull request #99 from php-http/drop-hhvm
drop hhvm support as its no longer working
2 parents c2a63aa + 4d14e9e commit dafefdb

8 files changed

+1
-27
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ matrix:
2626
include:
2727
- php: 5.4
2828
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
29-
- php: hhvm
30-
dist: trusty
3129

3230
before_install:
3331
- if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
],
1313
"require": {
14-
"php": ">=5.4",
14+
"php": "^5.4 || ^7.0",
1515
"psr/http-message": "^1.0",
1616
"php-http/message-factory": "^1.0.2",
1717
"clue/stream-filter": "^1.4"

spec/Encoding/ChunkStreamSpec.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ class ChunkStreamSpec extends ObjectBehavior
1212

1313
function let(StreamInterface $stream)
1414
{
15-
if (defined('HHVM_VERSION')) {
16-
throw new SkippingException('Skipping test as there is no dechunk filter on hhvm');
17-
}
18-
1915
$this->beConstructedWith($stream);
2016
}
2117

spec/Encoding/CompressStreamSpec.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ class CompressStreamSpec extends ObjectBehavior
1212

1313
function let(StreamInterface $stream)
1414
{
15-
if (defined('HHVM_VERSION')) {
16-
throw new SkippingException('Skipping test as zlib is not working on hhvm');
17-
}
18-
1915
$this->beConstructedWith($stream);
2016
}
2117

spec/Encoding/DechunkStreamSpec.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ class DechunkStreamSpec extends ObjectBehavior
1212

1313
function let(StreamInterface $stream)
1414
{
15-
if (defined('HHVM_VERSION')) {
16-
throw new SkippingException('Skipping test as there is no dechunk filter on hhvm');
17-
}
18-
1915
$this->beConstructedWith($stream);
2016
}
2117

spec/Encoding/DecompressStreamSpec.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ class DecompressStreamSpec extends ObjectBehavior
1212

1313
function let(StreamInterface $stream)
1414
{
15-
if (defined('HHVM_VERSION')) {
16-
throw new SkippingException('Skipping test as zlib is not working on hhvm');
17-
}
18-
1915
$this->beConstructedWith($stream);
2016
}
2117

spec/Encoding/GzipDecodeStreamSpec.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ class GzipDecodeStreamSpec extends ObjectBehavior
1212

1313
function let(StreamInterface $stream)
1414
{
15-
if (defined('HHVM_VERSION')) {
16-
throw new SkippingException('Skipping test as zlib is not working on hhvm');
17-
}
18-
1915
$this->beConstructedWith($stream);
2016
}
2117

spec/Encoding/GzipEncodeStreamSpec.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ class GzipEncodeStreamSpec extends ObjectBehavior
1212

1313
function let(StreamInterface $stream)
1414
{
15-
if (defined('HHVM_VERSION')) {
16-
throw new SkippingException('Skipping test as zlib is not working on hhvm');
17-
}
18-
1915
$this->beConstructedWith($stream);
2016
}
2117

0 commit comments

Comments
 (0)