@@ -23,8 +23,6 @@ |
||
| 23 | 23 | |
| 24 | 24 | namespace Eccube\Service; |
| 25 | 25 | |
| 26 | -use Eccube\Application; |
|
| 27 | - |
|
| 28 | 26 | |
| 29 | 27 | /** |
| 30 | 28 | * Copyright (C) 2012-2014 David de Boer <[email protected]> |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | |
| 25 | 25 | namespace Eccube\Command\PluginCommand; |
| 26 | 26 | |
| 27 | -use Eccube\Common\Constant; |
|
| 28 | 27 | use Symfony\Component\Console\Question\Question; |
| 29 | 28 | |
| 30 | 29 | abstract class AbstractPluginGenerator |
@@ -33,7 +33,6 @@ |
||
| 33 | 33 | use Symfony\Component\Console\Input\InputOption; |
| 34 | 34 | use Symfony\Component\Console\Output\OutputInterface; |
| 35 | 35 | use Symfony\Component\Console\Question\Question; |
| 36 | -use Symfony\Component\Validator\Constraints as Assert; |
|
| 37 | 36 | |
| 38 | 37 | class PluginCommand extends \Knp\Command\Command |
| 39 | 38 | { |
@@ -4,12 +4,10 @@ |
||
| 4 | 4 | use Eccube\Application; |
| 5 | 5 | use Symfony\Component\HttpFoundation\Response; |
| 6 | 6 | use Symfony\Component\HttpFoundation\Request; |
| 7 | -use Symfony\Component\HttpFoundation\ParameterBag; |
|
| 8 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 9 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
| 10 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; |
| 11 | 10 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
| 12 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
|
| 13 | 11 | |
| 14 | 12 | /** |
| 15 | 13 | * @Route("/test") |
@@ -24,22 +24,15 @@ |
||
| 24 | 24 | namespace Eccube; |
| 25 | 25 | |
| 26 | 26 | use Eccube\Application\ApplicationTrait; |
| 27 | -use Eccube\Common\Constant; |
|
| 28 | -use Eccube\Doctrine\ORM\Mapping\Driver\YamlDriver; |
|
| 29 | -use Eccube\EventListener\TransactionListener; |
|
| 30 | 27 | use Eccube\Plugin\ConfigManager as PluginConfigManager; |
| 31 | 28 | use Sergiors\Silex\Provider\AnnotationsServiceProvider; |
| 32 | 29 | use Sergiors\Silex\Provider\DoctrineCacheServiceProvider; |
| 33 | 30 | use Sergiors\Silex\Provider\RoutingServiceProvider; |
| 34 | 31 | use Sergiors\Silex\Provider\SensioFrameworkExtraServiceProvider; |
| 35 | 32 | use Sergiors\Silex\Provider\TemplatingServiceProvider; |
| 36 | -use Symfony\Component\EventDispatcher\EventDispatcher; |
|
| 37 | -use Symfony\Component\Finder\Finder; |
|
| 38 | 33 | use Symfony\Component\HttpFoundation\Request; |
| 39 | 34 | use Symfony\Component\HttpFoundation\Response; |
| 40 | 35 | use Symfony\Component\HttpKernel\Event\FilterResponseEvent; |
| 41 | -use Symfony\Component\HttpKernel\Event\GetResponseEvent; |
|
| 42 | -use Symfony\Component\HttpKernel\Event\PostResponseEvent; |
|
| 43 | 36 | use Symfony\Component\HttpKernel\KernelEvents; |
| 44 | 37 | use Symfony\Component\Yaml\Yaml; |
| 45 | 38 | |
@@ -2,15 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Eccube\Application; |
| 4 | 4 | |
| 5 | -use Eccube\Event\TemplateEvent; |
|
| 6 | -use Monolog\Logger; |
|
| 7 | -use Symfony\Component\Form\FormBuilder; |
|
| 8 | 5 | use Symfony\Component\HttpFoundation\Request; |
| 9 | 6 | use Symfony\Component\HttpFoundation\Response; |
| 10 | -use Symfony\Component\HttpFoundation\StreamedResponse; |
|
| 11 | 7 | use Symfony\Component\HttpKernel\HttpKernelInterface; |
| 12 | -use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
|
| 13 | -use Symfony\Component\Security\Core\User\UserInterface; |
|
| 14 | 8 | |
| 15 | 9 | trait ApplicationTrait |
| 16 | 10 | { |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | |
| 25 | 25 | namespace Eccube\Command; |
| 26 | 26 | |
| 27 | -use Symfony\Component\Console\Input\InputArgument; |
|
| 28 | 27 | use Symfony\Component\Console\Input\InputInterface; |
| 29 | 28 | use Symfony\Component\Console\Input\InputOption; |
| 30 | 29 | use Symfony\Component\Console\Output\OutputInterface; |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | use Eccube\Exception\PluginException; |
| 31 | 31 | use Eccube\Form\Type\Admin\PluginLocalInstallType; |
| 32 | 32 | use Eccube\Util\Str; |
| 33 | -use Monolog\Logger; |
|
| 34 | 33 | use Symfony\Component\Filesystem\Filesystem; |
| 35 | 34 | use Symfony\Component\Finder\Finder; |
| 36 | 35 | use Symfony\Component\HttpFoundation\Request; |
@@ -18,19 +18,10 @@ |
||
| 18 | 18 | use Doctrine\DBAL\Platforms\PostgreSqlPlatform; |
| 19 | 19 | use Doctrine\DBAL\Platforms\SQLAnywherePlatform; |
| 20 | 20 | use Doctrine\DBAL\Platforms\SQLServerPlatform; |
| 21 | -use Doctrine\ORM\Query\AST\ArithmeticExpression; |
|
| 22 | -use Doctrine\ORM\Query\AST\ArithmeticFactor; |
|
| 23 | -use Doctrine\ORM\Query\AST\ArithmeticTerm; |
|
| 24 | -use Doctrine\ORM\Query\AST\Literal; |
|
| 25 | 21 | use Doctrine\ORM\Query\AST\OrderByClause; |
| 26 | -use Doctrine\ORM\Query\AST\OrderByItem; |
|
| 27 | 22 | use Doctrine\ORM\Query\AST\PartialObjectExpression; |
| 28 | -use Doctrine\ORM\Query\AST\PathExpression; |
|
| 29 | 23 | use Doctrine\ORM\Query\AST\SelectExpression; |
| 30 | 24 | use Doctrine\ORM\Query\AST\SelectStatement; |
| 31 | -use Doctrine\ORM\Query\AST\SimpleArithmeticExpression; |
|
| 32 | -use Doctrine\ORM\Query\Expr\OrderBy; |
|
| 33 | -use Doctrine\ORM\Query\Expr\Select; |
|
| 34 | 25 | use Doctrine\ORM\Query\SqlWalker; |
| 35 | 26 | |
| 36 | 27 | /** |