Skip to content

Commit

Permalink
Improve PHPUnit fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
peter279k committed Mar 25, 2021
1 parent d1e5cd0 commit 39f5f7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ before_script:
script:
- php vendor/bin/php-cs-fixer fix --verbose --dry-run --using-cache=no
- php vendor/bin/phpcs --no-cache --no-colors
- php vendor/bin/phpunit --coverage-clover=coverage.clover
- XDEBUG_MODE=coverage php vendor/bin/phpunit --coverage-clover=coverage.clover
- php vendor/bin/phpstan analyse --no-interaction
- php vendor/bin/psalm
after_script:
Expand Down
2 changes: 1 addition & 1 deletion tests/RelayBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class RelayBuilderTest extends TestCase
/** @var RelayBuilder */
protected $relayBuilder;

protected function setUp()
protected function setUp() : void
{
$this->relayBuilder = new RelayBuilder();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/RelayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class RelayTest extends TestCase
/** @var Closure */
protected $responder;

protected function setUp()
protected function setUp() : void
{
$this->responder = function ($request, $next) {
return new Response();
Expand Down

0 comments on commit 39f5f7f

Please sign in to comment.