raviks789 98f6768dcb Declare properties that are dynamically used
Dynamic properties are deprecated since PHP 8.2.
2023-09-21 09:00:55 +02:00

29 lines
552 B
PHP

<?php
namespace Icinga\Module\Director\Test;
abstract class TestSuiteUnit
{
private $testdoxFile;
public function run()
{
}
public function __construct()
{
$this->testdoxFile = $this->newTempfile();
}
public function __destruct()
{
if ($this->testdoxFile && file_exists($this->testdoxFile)) {
unlink($this->testdoxFile);
}
}
public function getPhpunitCommand()
{
// return phpunit --bootstrap test/bootstrap.php --testdox-text /tmp/testdox.txt .
}
}