Skip to content

Commit

Permalink
minor symfony#1059 Make tests compatible with PHPUnit 8 (voronkovich)
Browse files Browse the repository at this point in the history
This PR was merged into the master branch.

Discussion
----------

Make tests compatible with PHPUnit 8

`setUp()` method must have a `void` return type declaration. See: https://phpunit.de/announcements/phpunit-8.html

Commits
-------

dae754d Make tests compatible with PHPUnit 8
  • Loading branch information
javiereguiluz committed Jan 7, 2020
2 parents bd9dc6e + dae754d commit 7cbada1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Command/AddUserCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class AddUserCommandTest extends KernelTestCase
'full-name' => 'Chuck Norris',
];

protected function setUp()
protected function setUp(): void
{
exec('stty 2>&1', $output, $exitcode);
$isSttySupported = 0 === $exitcode;
Expand Down

0 comments on commit 7cbada1

Please sign in to comment.