From 68f2255fa015251207ad95b0f7afee7b03ae05e5 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Wed, 21 Oct 2020 23:07:12 +0200 Subject: [PATCH] Lint --- tests/ControllerTest.php | 1 - tests/FrontControllerTest.php | 2 ++ tests/JsonControllerTest.php | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/ControllerTest.php b/tests/ControllerTest.php index b2695b7..9eae71b 100644 --- a/tests/ControllerTest.php +++ b/tests/ControllerTest.php @@ -15,7 +15,6 @@ use Alltube\Exception\DependencyException; use Alltube\Factory\LocaleManagerFactory; use Alltube\Factory\SessionFactory; use Alltube\Factory\ViewFactory; -use Alltube\LocaleManager; use Psr\Log\NullLogger; use Slim\Container; use Slim\Http\Environment; diff --git a/tests/FrontControllerTest.php b/tests/FrontControllerTest.php index fb270ff..51526b9 100644 --- a/tests/FrontControllerTest.php +++ b/tests/FrontControllerTest.php @@ -8,6 +8,7 @@ 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,6 +29,7 @@ class FrontControllerTest extends ControllerTest /** * Prepare tests. * @throws ConfigException|SmartyException + * @throws DependencyException */ protected function setUp(): void { diff --git a/tests/JsonControllerTest.php b/tests/JsonControllerTest.php index 438b482..be46ec1 100644 --- a/tests/JsonControllerTest.php +++ b/tests/JsonControllerTest.php @@ -8,6 +8,7 @@ namespace Alltube\Test; use Alltube\Controller\JsonController; use Alltube\Exception\ConfigException; +use Alltube\Exception\DependencyException; use Alltube\Library\Exception\YoutubedlException; use SmartyException; @@ -19,6 +20,7 @@ class JsonControllerTest extends ControllerTest /** * Prepare tests. * @throws ConfigException|SmartyException + * @throws DependencyException */ protected function setUp(): void {