mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-23 20:24:56 +02:00
refactor: add php autoloader (#2655)
This commit is contained in:
parent
b090b17bbf
commit
0ef298f9cc
9 changed files with 16 additions and 12 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue