Skip to content
Open
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
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
language: php

php:
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
- 7.2
- 7.3
- 7.4

before_script:
- composer self-update
- composer install --no-interaction --prefer-dist

script: vendor/bin/phpunit
script:
- vendor/bin/phpunit
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"description": "Get the cURL shell command from a Guzzle request",
"require": {
"php": ">=5.5.0",
"guzzlehttp/guzzle": "^6.0",
"guzzlehttp/guzzle": "^6.0|^7.0",
"psr/log": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^4.2.2"
"phpunit/phpunit": "^5.7.27"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion tests/Middleware/CurlFormatterMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public function testGet()
{
$mock = new MockHandler([new Response(204)]);
$handler = HandlerStack::create($mock);
$logger = $this->getMock(\Psr\Log\LoggerInterface::class);
$logger = $this->createMock(\Psr\Log\LoggerInterface::class);

$logger
->expects($this->once())
Expand Down