Failed Conditions
Pull Request — experimental/3.1 (#2526)
by Kentaro
49:12 queued 42:52
created
src/Eccube/EventListener/ForwardOnlyListener.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -6,9 +6,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Eccube/Controller/Admin/Customer/CustomerEditController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
src/Eccube/Controller/Mypage/MypageController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Eccube/Repository/ProductRepository.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -25,12 +25,10 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Eccube/Form/Type/Admin/ShippingType.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Eccube/Service/Calculator/CalculateContext.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
src/Eccube/Service/Calculator/Strategy/CalculateChargeStrategy.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,13 +2,9 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Eccube/Service/Calculator/Strategy/CalculateTotalStrategy.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,14 +2,10 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Eccube/Service/Calculator/Strategy/ChargeStrategy.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.