Skip to content

Commit 96fddd4

Browse files
Added travis yml
1 parent d9835fc commit 96fddd4

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
language: "php"
2+
3+
php:
4+
- 7.1
5+
6+
install:
7+
- "composer install"
8+
9+
script:
10+
- "php vendor/bin/phpunit"

tests/Unit/Fixture/StoppingMiddleware.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ class StoppingMiddleware implements MiddlewareInterface
1717
*/
1818
private $fakeResponse;
1919

20-
public function __construct($fakeResponse)
20+
/**
21+
* StoppingMiddleware constructor.
22+
*
23+
* @param ResponseInterface $fakeResponse
24+
*/
25+
public function __construct(ResponseInterface $fakeResponse)
2126
{
2227
$this->fakeResponse = $fakeResponse;
2328
}

0 commit comments

Comments
 (0)