Skip to content

Commit a131e38

Browse files
fbourigaultNyholm
authored andcommitted
build hhvm on trusty box (#177)
1 parent b9eb044 commit a131e38

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ php:
1111
- 5.6
1212
- 7.0
1313
- 7.1
14-
- hhvm
1514

1615
env:
1716
- TEST_COMMAND="composer test"
@@ -27,6 +26,8 @@ matrix:
2726
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
2827
- php: 7.1
2928
env: DEPENDENCIES=dev
29+
- php: hhvm
30+
dist: trusty
3031
# Test against LTS versions
3132
- php: 7.0
3233
env: SYMFONY_VERSION=2.8.*

Tests/Unit/Collector/FormatterTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,7 @@ public function testFormatHttpException()
8282

8383
public function testFormatTransferException()
8484
{
85-
$exception = $this->getMockBuilder(TransferException::class)
86-
->setConstructorArgs(['ExceptionMessage'])
87-
->getMock()
88-
;
85+
$exception = new TransferException('ExceptionMessage');
8986

9087
$this->assertEquals('Transfer error: ExceptionMessage', $this->subject->formatException($exception));
9188
}

0 commit comments

Comments
 (0)