diff --git a/classes/Config.php b/classes/Config.php index 66e728d..87fdf10 100644 --- a/classes/Config.php +++ b/classes/Config.php @@ -2,6 +2,7 @@ /** * Config class. */ + namespace Alltube; use Symfony\Component\Yaml\Yaml; diff --git a/classes/PasswordException.php b/classes/PasswordException.php index ae68c12..6ede500 100644 --- a/classes/PasswordException.php +++ b/classes/PasswordException.php @@ -2,6 +2,7 @@ /** * PasswordException class. */ + namespace Alltube; /** diff --git a/classes/VideoDownload.php b/classes/VideoDownload.php index 838fadc..2284840 100644 --- a/classes/VideoDownload.php +++ b/classes/VideoDownload.php @@ -2,6 +2,7 @@ /** * VideoDownload class. */ + namespace Alltube; use Chain\Chain; diff --git a/controllers/FrontController.php b/controllers/FrontController.php index db39e2f..d42aebc 100644 --- a/controllers/FrontController.php +++ b/controllers/FrontController.php @@ -2,6 +2,7 @@ /** * FrontController class. */ + namespace Alltube\Controller; use Alltube\Config; diff --git a/index.php b/index.php index fffd351..6db8190 100644 --- a/index.php +++ b/index.php @@ -19,7 +19,6 @@ $container['view'] = function ($c) { $view->registerPlugin('modifier', 'noscheme', 'Smarty_Modifier_noscheme'); - return $view; }; diff --git a/tests/ConfigTest.php b/tests/ConfigTest.php index da6cdf7..d952cad 100644 --- a/tests/ConfigTest.php +++ b/tests/ConfigTest.php @@ -2,6 +2,7 @@ /** * ConfigTest class. */ + namespace Alltube\Test; use Alltube\Config; diff --git a/tests/VideoDownloadTest.php b/tests/VideoDownloadTest.php index 22b0751..c1053bd 100644 --- a/tests/VideoDownloadTest.php +++ b/tests/VideoDownloadTest.php @@ -2,6 +2,7 @@ /** * VideoDownloadTest class. */ + namespace Alltube\Test; use Alltube\Config;