Made tests compatible with phpunit 8

The new simple-phpunit wrapper is selects the best phpunit version automatically and removes all the void return types if needed.
This commit is contained in:
Jan Böhmer 2019-11-23 19:12:49 +01:00
parent a62f947b86
commit 6405dee0ac
19 changed files with 19 additions and 37 deletions

View file

@ -35,7 +35,7 @@ class TreeViewNodeTest extends TestCase
*/
protected $node2;
public function setUp()
public function setUp() : void
{
$sub_nodes = [];
$sub_nodes[] = new TreeViewNode('Subnode 1');