Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ php:
- 5.6
- 7.0
- 7.1
- hhvm

env:
- TEST_COMMAND="composer test"
Expand All @@ -27,6 +26,8 @@ matrix:
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
- php: 7.1
env: DEPENDENCIES=dev
- php: hhvm
dist: trusty
# Test against LTS versions
- php: 7.0
env: SYMFONY_VERSION=2.8.*
Expand Down
5 changes: 1 addition & 4 deletions Tests/Unit/Collector/FormatterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,7 @@ public function testFormatHttpException()

public function testFormatTransferException()
{
$exception = $this->getMockBuilder(TransferException::class)
->setConstructorArgs(['ExceptionMessage'])
->getMock()
;
$exception = new TransferException('ExceptionMessage');

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