mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 20:43:25 +00:00
Fix Cs
This commit is contained in:
@@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
namespace Alchemy\Phrasea\Authentication;
|
namespace Alchemy\Phrasea\Authentication;
|
||||||
|
|
||||||
use Alchemy\Phrasea\Application;
|
|
||||||
use Alchemy\Phrasea\Authentication\Exception\NotAuthenticatedException;
|
use Alchemy\Phrasea\Authentication\Exception\NotAuthenticatedException;
|
||||||
use Alchemy\Phrasea\Authentication\Provider\Token\Token;
|
use Alchemy\Phrasea\Authentication\Provider\Token\Token;
|
||||||
use Alchemy\Phrasea\Authentication\Provider\Token\Identity;
|
use Alchemy\Phrasea\Authentication\Provider\Token\Identity;
|
||||||
|
@@ -13,7 +13,6 @@ namespace Alchemy\Phrasea\Command\Plugin;
|
|||||||
|
|
||||||
use Symfony\Component\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Component\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Component\Console\Input\InputOption;
|
|
||||||
use Symfony\Component\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
|
|
||||||
class DisablePlugin extends AbstractPluginCommand
|
class DisablePlugin extends AbstractPluginCommand
|
||||||
|
@@ -13,7 +13,6 @@ namespace Alchemy\Phrasea\Command\Plugin;
|
|||||||
|
|
||||||
use Symfony\Component\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Component\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Component\Console\Input\InputOption;
|
|
||||||
use Symfony\Component\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
|
|
||||||
class EnablePlugin extends AbstractPluginCommand
|
class EnablePlugin extends AbstractPluginCommand
|
||||||
|
@@ -12,7 +12,6 @@
|
|||||||
namespace Alchemy\Phrasea\Command\Plugin;
|
namespace Alchemy\Phrasea\Command\Plugin;
|
||||||
|
|
||||||
use Symfony\Component\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Component\Console\Input\InputOption;
|
|
||||||
use Symfony\Component\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Component\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
|
|
||||||
|
@@ -18,7 +18,6 @@ use Alchemy\Phrasea\Setup\Requirements\LocalesRequirements;
|
|||||||
use Alchemy\Phrasea\Setup\Requirements\PhpRequirements;
|
use Alchemy\Phrasea\Setup\Requirements\PhpRequirements;
|
||||||
use Alchemy\Phrasea\Setup\Requirements\PhraseaRequirements;
|
use Alchemy\Phrasea\Setup\Requirements\PhraseaRequirements;
|
||||||
use Alchemy\Phrasea\Setup\Requirements\SystemRequirements;
|
use Alchemy\Phrasea\Setup\Requirements\SystemRequirements;
|
||||||
use Doctrine\DBAL\Connection;
|
|
||||||
use Silex\ControllerProviderInterface;
|
use Silex\ControllerProviderInterface;
|
||||||
use Silex\Application as SilexApplication;
|
use Silex\Application as SilexApplication;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
|
@@ -11,17 +11,13 @@
|
|||||||
|
|
||||||
namespace Alchemy\Phrasea\Core\CLIProvider;
|
namespace Alchemy\Phrasea\Core\CLIProvider;
|
||||||
|
|
||||||
use Alchemy\Phrasea\Plugin\PluginManager;
|
|
||||||
use Alchemy\Phrasea\Plugin\Schema\ManifestValidator;
|
|
||||||
use Alchemy\Phrasea\Plugin\Management\PluginsExplorer;
|
use Alchemy\Phrasea\Plugin\Management\PluginsExplorer;
|
||||||
use Alchemy\Phrasea\Plugin\Management\ComposerInstaller;
|
use Alchemy\Phrasea\Plugin\Management\ComposerInstaller;
|
||||||
use Alchemy\Phrasea\Plugin\Schema\PluginValidator;
|
|
||||||
use Alchemy\Phrasea\Plugin\Importer\Importer;
|
use Alchemy\Phrasea\Plugin\Importer\Importer;
|
||||||
use Alchemy\Phrasea\Plugin\Importer\ImportStrategy;
|
use Alchemy\Phrasea\Plugin\Importer\ImportStrategy;
|
||||||
use Alchemy\Phrasea\Plugin\Importer\FolderImporter;
|
use Alchemy\Phrasea\Plugin\Importer\FolderImporter;
|
||||||
use Alchemy\Phrasea\Plugin\Management\AutoloaderGenerator;
|
use Alchemy\Phrasea\Plugin\Management\AutoloaderGenerator;
|
||||||
use Alchemy\Phrasea\Plugin\Management\AssetsManager;
|
use Alchemy\Phrasea\Plugin\Management\AssetsManager;
|
||||||
use JsonSchema\Validator as JsonValidator;
|
|
||||||
use Symfony\Component\Process\PhpExecutableFinder;
|
use Symfony\Component\Process\PhpExecutableFinder;
|
||||||
use Silex\Application;
|
use Silex\Application;
|
||||||
use Silex\ServiceProviderInterface;
|
use Silex\ServiceProviderInterface;
|
||||||
|
@@ -61,4 +61,3 @@ class ConnectionProvider
|
|||||||
return $this->connections[$key] = DriverManager::getConnection($params, $this->config, $this->eventManager);;
|
return $this->connections[$key] = DriverManager::getConnection($params, $this->config, $this->eventManager);;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
namespace Alchemy\Phrasea\Form\Login;
|
namespace Alchemy\Phrasea\Form\Login;
|
||||||
|
|
||||||
use Alchemy\Phrasea\Application;
|
|
||||||
use Alchemy\Phrasea\Form\Constraint\PasswordToken;
|
use Alchemy\Phrasea\Form\Constraint\PasswordToken;
|
||||||
use Symfony\Component\Form\AbstractType;
|
use Symfony\Component\Form\AbstractType;
|
||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
|
@@ -14,7 +14,6 @@ namespace Alchemy\Phrasea\Plugin;
|
|||||||
use Alchemy\Phrasea\Core\Configuration\PropertyAccess;
|
use Alchemy\Phrasea\Core\Configuration\PropertyAccess;
|
||||||
use Alchemy\Phrasea\Plugin\Schema\PluginValidator;
|
use Alchemy\Phrasea\Plugin\Schema\PluginValidator;
|
||||||
use Alchemy\Phrasea\Plugin\Exception\PluginValidationException;
|
use Alchemy\Phrasea\Plugin\Exception\PluginValidationException;
|
||||||
use Symfony\Component\Finder\Finder;
|
|
||||||
|
|
||||||
class PluginManager
|
class PluginManager
|
||||||
{
|
{
|
||||||
|
@@ -497,7 +497,7 @@ class API_OAuth2_Adapter extends OAuth2
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param User $user
|
* @param User $user
|
||||||
* @return API_OAuth2_Account
|
* @return API_OAuth2_Account
|
||||||
*/
|
*/
|
||||||
public function updateAccount(User $user)
|
public function updateAccount(User $user)
|
||||||
|
@@ -9,7 +9,6 @@
|
|||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
use Alchemy\Phrasea\Application;
|
use Alchemy\Phrasea\Application;
|
||||||
use Alchemy\Phrasea\Vocabulary;
|
use Alchemy\Phrasea\Vocabulary;
|
||||||
use Alchemy\Phrasea\Vocabulary\ControlProvider\ControlProviderInterface;
|
use Alchemy\Phrasea\Vocabulary\ControlProvider\ControlProviderInterface;
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
namespace Alchemy\Tests\Phrasea\Command\Plugin;
|
namespace Alchemy\Tests\Phrasea\Command\Plugin;
|
||||||
|
|
||||||
use Alchemy\Phrasea\Command\Plugin\DisablePlugin;
|
use Alchemy\Phrasea\Command\Plugin\DisablePlugin;
|
||||||
use Symfony\Component\Yaml\Yaml;
|
|
||||||
|
|
||||||
class DisablePluginTest extends PluginCommandTestCase
|
class DisablePluginTest extends PluginCommandTestCase
|
||||||
{
|
{
|
||||||
|
@@ -3,8 +3,6 @@
|
|||||||
namespace Alchemy\Tests\Phrasea\Command\Plugin;
|
namespace Alchemy\Tests\Phrasea\Command\Plugin;
|
||||||
|
|
||||||
use Alchemy\Phrasea\Command\Plugin\EnablePlugin;
|
use Alchemy\Phrasea\Command\Plugin\EnablePlugin;
|
||||||
use Alchemy\Phrasea\Core\Provider\ConfigurationServiceProvider;
|
|
||||||
use Symfony\Component\Yaml\Yaml;
|
|
||||||
|
|
||||||
class EnablePluginTest extends PluginCommandTestCase
|
class EnablePluginTest extends PluginCommandTestCase
|
||||||
{
|
{
|
||||||
|
@@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
namespace Alchemy\Tests\Phrasea\Core\Provider;
|
namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||||
|
|
||||||
use Symfony\Component\Process\ExecutableFinder;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers Alchemy\Phrasea\Core\Provider\PluginServiceProvider
|
* @covers Alchemy\Phrasea\Core\Provider\PluginServiceProvider
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user