Adjust function signatures for newer PHPUnit versions

Will make an update to PHPUnit 8 or 9 easier.
This commit is contained in:
Fonata
2021-04-03 00:04:58 +02:00
committed by Fonata
parent 3ce6a82052
commit 4518e944c4
9 changed files with 11 additions and 33 deletions

View File

@@ -11,7 +11,7 @@ use PHPUnit\Framework\TestCase;
*/
class StreamTest extends TestCase {
public function setUp() {
protected function setUp(): void {
static $done;
if ($done) {
// Make sure we register the stream just once - or PHP will scream.