From 7d4de531733d349ab09339db0c46c41d1c2b9e4c Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Thu, 4 Oct 2012 17:54:54 +0200 Subject: [PATCH] Fix docblocks and use declarations --- lib/Alchemy/Phrasea/CLI.php | 9 +++++++++ lib/Alchemy/Phrasea/Controller/AbstractDelivery.php | 1 - lib/Alchemy/Phrasea/Controller/Admin/Publications.php | 3 --- lib/Alchemy/Phrasea/Controller/Admin/Root.php | 1 - lib/Alchemy/Phrasea/Controller/Permalink.php | 1 - lib/Alchemy/Phrasea/Controller/Root/Developers.php | 1 - lib/Alchemy/Phrasea/Controller/Setup/Installer.php | 3 --- lib/Alchemy/Phrasea/Controller/Utils/ConnectionTest.php | 1 - lib/Alchemy/Phrasea/PhraseanetServiceProvider.php | 9 +++++++++ lib/Alchemy/Phrasea/Setup/ConfigurationTester.php | 9 +++++++++ lib/Alchemy/Phrasea/Setup/Installer.php | 9 +++++++++ 11 files changed, 36 insertions(+), 11 deletions(-) diff --git a/lib/Alchemy/Phrasea/CLI.php b/lib/Alchemy/Phrasea/CLI.php index b88b4ba049..e06dfbcbe0 100644 --- a/lib/Alchemy/Phrasea/CLI.php +++ b/lib/Alchemy/Phrasea/CLI.php @@ -1,5 +1,14 @@ before(function(Request $request) use ($app) { $app['firewall']->requireAccessToModule('admin') ->requireRight('bas_chupub'); diff --git a/lib/Alchemy/Phrasea/Controller/Admin/Root.php b/lib/Alchemy/Phrasea/Controller/Admin/Root.php index 29d0cceb05..f127d37a32 100644 --- a/lib/Alchemy/Phrasea/Controller/Admin/Root.php +++ b/lib/Alchemy/Phrasea/Controller/Admin/Root.php @@ -14,7 +14,6 @@ namespace Alchemy\Phrasea\Controller\Admin; use Silex\Application; use Silex\ControllerProviderInterface; use Symfony\Component\HttpFoundation\Request; -use Symfony\Component\HttpFoundation\Response; /** * diff --git a/lib/Alchemy/Phrasea/Controller/Permalink.php b/lib/Alchemy/Phrasea/Controller/Permalink.php index a4fea2a389..ab2a2acede 100644 --- a/lib/Alchemy/Phrasea/Controller/Permalink.php +++ b/lib/Alchemy/Phrasea/Controller/Permalink.php @@ -13,7 +13,6 @@ namespace Alchemy\Phrasea\Controller; use Alchemy\Phrasea\Application as PhraseaApplication; use Silex\Application; -use Symfony\Component\HttpFoundation\Response; /** * diff --git a/lib/Alchemy/Phrasea/Controller/Root/Developers.php b/lib/Alchemy/Phrasea/Controller/Root/Developers.php index d0761616d9..c11d90045a 100644 --- a/lib/Alchemy/Phrasea/Controller/Root/Developers.php +++ b/lib/Alchemy/Phrasea/Controller/Root/Developers.php @@ -15,7 +15,6 @@ use Silex\Application; use Silex\ControllerProviderInterface; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; -use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpFoundation\Response; /** diff --git a/lib/Alchemy/Phrasea/Controller/Setup/Installer.php b/lib/Alchemy/Phrasea/Controller/Setup/Installer.php index 2493784cf1..26edaeee68 100644 --- a/lib/Alchemy/Phrasea/Controller/Setup/Installer.php +++ b/lib/Alchemy/Phrasea/Controller/Setup/Installer.php @@ -11,9 +11,6 @@ namespace Alchemy\Phrasea\Controller\Setup; -use Alchemy\Phrasea\Core\Configuration; -use Alchemy\Phrasea\Core\Service\Builder as ServiceBuilder; -use Doctrine\ORM\Tools\SchemaTool; use Silex\Application; use Silex\ControllerProviderInterface; use Symfony\Component\HttpFoundation\Request; diff --git a/lib/Alchemy/Phrasea/Controller/Utils/ConnectionTest.php b/lib/Alchemy/Phrasea/Controller/Utils/ConnectionTest.php index 148114f789..ea13abb98b 100644 --- a/lib/Alchemy/Phrasea/Controller/Utils/ConnectionTest.php +++ b/lib/Alchemy/Phrasea/Controller/Utils/ConnectionTest.php @@ -13,7 +13,6 @@ namespace Alchemy\Phrasea\Controller\Utils; use Silex\Application; use Silex\ControllerProviderInterface; -use Symfony\Component\HttpFoundation\Request; /** * diff --git a/lib/Alchemy/Phrasea/PhraseanetServiceProvider.php b/lib/Alchemy/Phrasea/PhraseanetServiceProvider.php index cd9b66f1ce..5d9c6ebf15 100644 --- a/lib/Alchemy/Phrasea/PhraseanetServiceProvider.php +++ b/lib/Alchemy/Phrasea/PhraseanetServiceProvider.php @@ -1,5 +1,14 @@