@@ -6,9 +6,6 @@ |
||
6 | 6 | use Eccube\Annotation\ForwardOnly; |
7 | 7 | use Monolog\Logger; |
8 | 8 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
9 | -use Symfony\Component\HttpFoundation\Request; |
|
10 | -use Symfony\Component\HttpFoundation\Response; |
|
11 | -use Symfony\Component\HttpFoundation\Session\SessionInterface; |
|
12 | 9 | use Symfony\Component\HttpKernel\Event\FilterControllerEvent; |
13 | 10 | use Symfony\Component\HttpKernel\KernelEvents; |
14 | 11 |
@@ -27,7 +27,6 @@ discard block |
||
27 | 27 | use Eccube\Annotation\Inject; |
28 | 28 | use Eccube\Annotation\Component; |
29 | 29 | use Eccube\Application; |
30 | -use Eccube\Common\Constant; |
|
31 | 30 | use Eccube\Controller\AbstractController; |
32 | 31 | use Eccube\Entity\CustomerAddress; |
33 | 32 | use Eccube\Event\EccubeEvents; |
@@ -36,12 +35,10 @@ discard block |
||
36 | 35 | use Eccube\Repository\CustomerRepository; |
37 | 36 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
38 | 37 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
39 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
|
40 | 38 | use Symfony\Component\EventDispatcher\EventDispatcher; |
41 | 39 | use Symfony\Component\Form\FormFactory; |
42 | 40 | use Symfony\Component\HttpFoundation\Request; |
43 | 41 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
44 | -use Symfony\Component\Security\Core\Encoder\EncoderFactory; |
|
45 | 42 | use Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface; |
46 | 43 | |
47 | 44 | /** |
@@ -32,7 +32,6 @@ |
||
32 | 32 | use Eccube\Controller\AbstractController; |
33 | 33 | use Eccube\Entity\BaseInfo; |
34 | 34 | use Eccube\Entity\CustomerFavoriteProduct; |
35 | -use Eccube\Entity\Product; |
|
36 | 35 | use Eccube\Event\EccubeEvents; |
37 | 36 | use Eccube\Event\EventArgs; |
38 | 37 | use Eccube\Exception\CartException; |
@@ -25,12 +25,10 @@ |
||
25 | 25 | namespace Eccube\Repository; |
26 | 26 | |
27 | 27 | use Doctrine\ORM\EntityManager; |
28 | -use Doctrine\ORM\NoResultException; |
|
29 | 28 | use Eccube\Annotation\Inject; |
30 | 29 | use Eccube\Annotation\Repository; |
31 | 30 | use Eccube\Doctrine\Query\Queries; |
32 | 31 | use Eccube\Util\Str; |
33 | -use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
|
34 | 32 | |
35 | 33 | /** |
36 | 34 | * ProductRepository |
@@ -27,7 +27,6 @@ discard block |
||
27 | 27 | use Doctrine\ORM\EntityRepository; |
28 | 28 | use Eccube\Annotation\FormType; |
29 | 29 | use Eccube\Annotation\Inject; |
30 | -use Eccube\Application; |
|
31 | 30 | use Eccube\Common\Constant; |
32 | 31 | use Eccube\Entity\BaseInfo; |
33 | 32 | use Eccube\Form\Type\AddressType; |
@@ -35,7 +34,6 @@ discard block |
||
35 | 34 | use Eccube\Form\Type\NameType; |
36 | 35 | use Eccube\Form\Type\TelType; |
37 | 36 | use Eccube\Form\Type\ZipType; |
38 | -use Eccube\Repository\BaseInfoRepository; |
|
39 | 37 | use Eccube\Repository\DeliveryRepository; |
40 | 38 | use Symfony\Bridge\Doctrine\Form\Type\EntityType; |
41 | 39 | use Symfony\Component\Form\AbstractType; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | use Eccube\Entity\Order; |
5 | 5 | use Eccube\Entity\PurchaseInterface; |
6 | 6 | use Eccube\Entity\OrderItem; |
7 | -use Eccube\Service\Calculator\Strategy\CalculateStrategyInterface; |
|
8 | 7 | |
9 | 8 | class CalculateContext |
10 | 9 | { |
@@ -2,13 +2,9 @@ |
||
2 | 2 | namespace Eccube\Service\Calculator\Strategy; |
3 | 3 | |
4 | 4 | use Eccube\Application; |
5 | -use Eccube\Entity\Master\OrderItemType; |
|
6 | -use Eccube\Entity\Master\TaxType; |
|
7 | -use Eccube\Entity\Master\TaxDisplayType; |
|
8 | 5 | use Eccube\Entity\Order; |
9 | 6 | use Eccube\Entity\PurchaseInterface; |
10 | 7 | use Eccube\Entity\OrderItem; |
11 | -use Eccube\Entity\Shipping; |
|
12 | 8 | use Eccube\Repository\Master\OrderItemTypeRepository; |
13 | 9 | use Eccube\Service\Calculator\OrderItemCollection; |
14 | 10 |
@@ -2,14 +2,10 @@ |
||
2 | 2 | namespace Eccube\Service\Calculator\Strategy; |
3 | 3 | |
4 | 4 | use Eccube\Application; |
5 | -use Eccube\Entity\Master\OrderItemType; |
|
6 | -use Eccube\Entity\Master\TaxType; |
|
7 | -use Eccube\Entity\Master\TaxDisplayType; |
|
8 | 5 | use Eccube\Entity\Cart; |
9 | 6 | use Eccube\Entity\Order; |
10 | 7 | use Eccube\Entity\PurchaseInterface; |
11 | 8 | use Eccube\Entity\OrderItem; |
12 | -use Eccube\Entity\Shipping; |
|
13 | 9 | use Eccube\Repository\Master\OrderItemTypeRepository; |
14 | 10 | use Eccube\Service\Calculator\OrderItemCollection; |
15 | 11 |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Eccube\Entity\Order; |
9 | 9 | use Eccube\Entity\PurchaseInterface; |
10 | 10 | use Eccube\Entity\OrderItem; |
11 | -use Eccube\Entity\Shipping; |
|
12 | 11 | use Eccube\Repository\Master\OrderItemTypeRepository; |
13 | 12 | use Eccube\Service\Calculator\OrderItemCollection; |
14 | 13 |