return type void is required as of PHPunit 7, breaking test compatibility with PHP < 7.1
This commit is contained in:
@@ -10,7 +10,7 @@ class Vizhash16x16Test extends TestCase
|
||||
|
||||
private $_path;
|
||||
|
||||
public function setUp()
|
||||
public function setUp(): void
|
||||
{
|
||||
/* Setup Routine */
|
||||
$this->_path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'privatebin_data';
|
||||
@@ -21,7 +21,7 @@ class Vizhash16x16Test extends TestCase
|
||||
ServerSalt::setPath($this->_path);
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
public function tearDown(): void
|
||||
{
|
||||
/* Tear Down Routine */
|
||||
chmod($this->_path, 0700);
|
||||
|
||||
Reference in New Issue
Block a user