Code Clean up, more testing
Remove unused code and classes. Clean up code to remove all named constant from them and throw deprecation alerts if used. Add basic psalm setup in root folder and remove from www folder
This commit is contained in:
@@ -23,15 +23,16 @@ class Test
|
||||
/** @var DB\TestDB */
|
||||
private $test_db;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
public function __construct(
|
||||
\CoreLibs\Debug\Logging $log
|
||||
) {
|
||||
// calls all tests
|
||||
$this->testPrivate();
|
||||
$this->testProtected();
|
||||
$this->testPublic();
|
||||
|
||||
// call intern
|
||||
$this->test_db = new DB\TestDB();
|
||||
$this->test_db = new DB\TestDB($log);
|
||||
}
|
||||
|
||||
public function __destruct()
|
||||
|
||||
Reference in New Issue
Block a user