refactor: add php autoloader (#2655)

This commit is contained in:
Dag 2022-04-26 00:57:59 +02:00 committed by GitHub
parent b090b17bbf
commit 0ef298f9cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 16 additions and 12 deletions

View file

@ -33,7 +33,6 @@ class FormatImplementationTest extends TestCase {
}
private function setFormat($path) {
require_once $path;
$this->class = basename($path, '.php');
$this->assertTrue(class_exists($this->class), 'class ' . $this->class . ' doesn\'t exist');
$this->obj = new $this->class();