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

@@ -16,27 +16,11 @@ class DefaultValuesPropertiesTest extends TestCase {
*/
protected $csv = null;
/**
* Setup
* Setup our test environment objects
*
* @access public
*/
public function setUp() {
protected function setUp(): void {
//setup parse CSV
$this->csv = new Csv();
}
/**
* Tear down
* Tear down our test environment objects
*
* @access public
*/
public function tearDown() {
$this->csv = null;
}
public function test_heading_default() {
$this->assertTrue(is_bool($this->csv->heading));
$this->assertTrue($this->csv->heading);