@@ -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\Output\OutputInterface; |
30 | 29 | use Symfony\Component\Console\Input\InputOption; |
@@ -24,12 +24,10 @@ |
||
24 | 24 | |
25 | 25 | namespace Eccube\Controller\Admin\Product; |
26 | 26 | |
27 | -use Doctrine\ORM\EntityManagerInterface; |
|
28 | 27 | use Symfony\Component\Form\FormError; |
29 | 28 | use Symfony\Component\HttpFoundation\Request; |
30 | 29 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
31 | 30 | use Symfony\Component\Validator\Constraints as Assert; |
32 | - |
|
33 | 31 | use Eccube\Application; |
34 | 32 | use Eccube\Common\Constant; |
35 | 33 | use Eccube\Entity\ClassName; |
@@ -23,7 +23,6 @@ |
||
23 | 23 | |
24 | 24 | namespace Eccube\Controller\Admin\Setting\System; |
25 | 25 | |
26 | -use Doctrine\Common\Util\Debug; |
|
27 | 26 | use Eccube\Application; |
28 | 27 | use Eccube\Controller\AbstractController; |
29 | 28 | use Symfony\Component\HttpFoundation\Request; |
@@ -28,9 +28,7 @@ |
||
28 | 28 | use Eccube\Common\Constant; |
29 | 29 | use Eccube\Util\Str; |
30 | 30 | use Eccube\Controller\AbstractController; |
31 | - |
|
32 | 31 | use Symfony\Component\HttpFoundation\Request; |
33 | -use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
|
34 | 32 | use Symfony\Component\Yaml\Yaml; |
35 | 33 | |
36 | 34 |
@@ -28,7 +28,6 @@ |
||
28 | 28 | use Eccube\Entity\Master\DeviceType; |
29 | 29 | use Eccube\Util\Str; |
30 | 30 | use Symfony\Component\Filesystem\Filesystem; |
31 | -use Symfony\Component\Finder\Finder; |
|
32 | 31 | use Symfony\Component\Form\FormError; |
33 | 32 | use Symfony\Component\HttpFoundation\Request; |
34 | 33 | use Symfony\Component\HttpFoundation\Response; |
@@ -25,9 +25,7 @@ |
||
25 | 25 | |
26 | 26 | use Symfony\Component\Form\AbstractType; |
27 | 27 | use Symfony\Component\Form\FormBuilderInterface; |
28 | -use Symfony\Component\Form\FormEvents; |
|
29 | 28 | use Symfony\Component\Validator\Constraints as Assert; |
30 | -use Symfony\Component\OptionsResolver\Options; |
|
31 | 29 | use Symfony\Component\OptionsResolver\OptionsResolver; |
32 | 30 | |
33 | 31 | /** |
@@ -26,7 +26,6 @@ |
||
26 | 26 | |
27 | 27 | use Eccube\Common\Constant; |
28 | 28 | use Eccube\Util\EntityUtil; |
29 | -use Symfony\Component\Form\FormFactory; |
|
30 | 29 | use Symfony\Component\HttpFoundation\Request; |
31 | 30 | |
32 | 31 | class CsvExportService |
@@ -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]> |
@@ -55,10 +55,10 @@ discard block |
||
55 | 55 | if(PluginEventHandler::EVENT_HANDLER_TYPE_FIRST==$type){ |
56 | 56 | $range_start=PluginEventHandler::EVENT_PRIORITY_FIRST_START; |
57 | 57 | $range_end=PluginEventHandler::EVENT_PRIORITY_FIRST_END; |
58 | - }elseif(PluginEventHandler::EVENT_HANDLER_TYPE_LAST==$type){ |
|
58 | + } elseif(PluginEventHandler::EVENT_HANDLER_TYPE_LAST==$type){ |
|
59 | 59 | $range_start=PluginEventHandler::EVENT_PRIORITY_LAST_START; |
60 | 60 | $range_end=PluginEventHandler::EVENT_PRIORITY_LAST_END; |
61 | - }else{ |
|
61 | + } else{ |
|
62 | 62 | $range_start=PluginEventHandler::EVENT_PRIORITY_NORMAL_START; |
63 | 63 | $range_end=PluginEventHandler::EVENT_PRIORITY_NORMAL_END; |
64 | 64 | } |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | $result=$qb->getQuery()->getResult(); |
83 | 83 | if(count($result)){ |
84 | 84 | return $result[0]->getPriority() -1; |
85 | - }else{ |
|
85 | + } else{ |
|
86 | 86 | return $range_start; |
87 | 87 | } |
88 | 88 | |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | $em->flush(); |
120 | 120 | $em->getConnection()->commit(); |
121 | 121 | # 移動する |
122 | - }else{ |
|
122 | + } else{ |
|
123 | 123 | # 移動しない |
124 | 124 | throw new PluginException("Can't swap"); |
125 | 125 | } |