Move factory classes to a subfolder

This commit is contained in:
Pierre Rudloff 2020-10-20 23:29:50 +02:00
parent 123a6c5ad9
commit 0a220d4d8e
9 changed files with 21 additions and 17 deletions

View file

@ -11,8 +11,8 @@ use Alltube\Controller\BaseController;
use Alltube\Controller\DownloadController;
use Alltube\Controller\FrontController;
use Alltube\Exception\ConfigException;
use Alltube\Factory\ViewFactory;
use Alltube\LocaleManager;
use Alltube\ViewFactory;
use Psr\Log\NullLogger;
use Slim\Container;
use Slim\Http\Environment;

View file

@ -8,7 +8,6 @@ namespace Alltube\Test;
use Alltube\Controller\FrontController;
use Alltube\Exception\ConfigException;
use Alltube\Exception\DependencyException;
use Alltube\Library\Exception\AlltubeLibraryException;
use Exception;
use Slim\Http\Environment;
@ -28,7 +27,7 @@ class FrontControllerTest extends ControllerTest
/**
* Prepare tests.
* @throws ConfigException|SmartyException|DependencyException
* @throws ConfigException|SmartyException
*/
protected function setUp(): void
{

View file

@ -8,7 +8,6 @@ namespace Alltube\Test;
use Alltube\Controller\JsonController;
use Alltube\Exception\ConfigException;
use Alltube\Exception\DependencyException;
use Alltube\Library\Exception\YoutubedlException;
use SmartyException;
@ -19,7 +18,7 @@ class JsonControllerTest extends ControllerTest
{
/**
* Prepare tests.
* @throws ConfigException|SmartyException|DependencyException
* @throws ConfigException|SmartyException
*/
protected function setUp(): void
{

View file

@ -6,8 +6,8 @@
namespace Alltube\Test;
use Alltube\Factory\ViewFactory;
use Alltube\LocaleManager;
use Alltube\ViewFactory;
use Slim\Container;
use Slim\Http\Environment;
use Slim\Http\Request;