Failed Conditions
Pull Request — 4.0 (#4276)
by Kiyotaka
05:03
created
src/Eccube/Service/SystemService.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,11 +14,11 @@
 block discarded – undo
14 14
 namespace Eccube\Service;
15 15
 
16 16
 use Doctrine\ORM\EntityManagerInterface;
17
+use Symfony\Component\DependencyInjection\ContainerInterface;
17 18
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
18 19
 use Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector;
19
-use Symfony\Component\DependencyInjection\ContainerInterface;
20
-use Symfony\Component\HttpKernel\KernelEvents;
21 20
 use Symfony\Component\HttpKernel\Event\PostResponseEvent;
21
+use Symfony\Component\HttpKernel\KernelEvents;
22 22
 
23 23
 class SystemService implements EventSubscriberInterface
24 24
 {
Please login to merge, or discard this patch.
src/Eccube/Controller/Admin/Content/CssController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 namespace Eccube\Controller\Admin\Content;
15 15
 
16 16
 use Eccube\Controller\AbstractController;
17
-use Eccube\Form\Type\Admin\MainEditType;
18 17
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
19 18
 use Symfony\Component\Filesystem\Exception\IOException;
20 19
 use Symfony\Component\Filesystem\Filesystem;
Please login to merge, or discard this patch.
src/Eccube/Controller/Admin/Content/JsController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 namespace Eccube\Controller\Admin\Content;
15 15
 
16 16
 use Eccube\Controller\AbstractController;
17
-use Eccube\Form\Type\Admin\MainEditType;
18 17
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
19 18
 use Symfony\Component\Filesystem\Exception\IOException;
20 19
 use Symfony\Component\Filesystem\Filesystem;
Please login to merge, or discard this patch.
src/Eccube/Command/UpdateSchemaDoctrineCommand.php 1 patch
Unused Use Statements   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,10 +4,7 @@  discard block
 block discarded – undo
4 4
 
5 5
 use Doctrine\Bundle\DoctrineBundle\Command\Proxy\DoctrineCommandHelper;
6 6
 use Doctrine\Bundle\DoctrineBundle\Command\Proxy\UpdateSchemaDoctrineCommand as BaseUpdateSchemaDoctrineCommand;
7
-use Doctrine\Common\Annotations\AnnotationReader;
8
-use Doctrine\ORM\Tools\Console\Command\SchemaTool\UpdateCommand;
9 7
 use Doctrine\ORM\Tools\SchemaTool;
10
-use Eccube\Doctrine\ORM\Mapping\Driver\ReloadSafeAnnotationDriver;
11 8
 use Eccube\Repository\PluginRepository;
12 9
 use Eccube\Service\PluginService;
13 10
 use Eccube\Service\SchemaService;
@@ -16,8 +13,8 @@  discard block
 block discarded – undo
16 13
 use Symfony\Component\Console\Input\InputOption;
17 14
 use Symfony\Component\Console\Output\OutputInterface;
18 15
 use Symfony\Component\Console\Style\SymfonyStyle;
19
-use Symfony\Component\Finder\Finder;
20 16
 use Symfony\Component\Filesystem\Filesystem;
17
+use Symfony\Component\Finder\Finder;
21 18
 
22 19
 /**
23 20
  * Command to generate the SQL needed to update the database schema to match
Please login to merge, or discard this patch.
src/Eccube/Service/PluginService.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
 use Eccube\Util\CacheUtil;
26 26
 use Eccube\Util\StringUtil;
27 27
 use Symfony\Component\DependencyInjection\ContainerInterface;
28
-use Symfony\Component\Finder\Finder;
29 28
 use Symfony\Component\Filesystem\Filesystem;
29
+use Symfony\Component\Finder\Finder;
30 30
 
31 31
 class PluginService
32 32
 {
Please login to merge, or discard this patch.
src/Eccube/Service/SchemaService.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
 use Doctrine\ORM\Tools\SchemaTool;
19 19
 use Eccube\Doctrine\ORM\Mapping\Driver\ReloadSafeAnnotationDriver;
20 20
 use Eccube\Util\StringUtil;
21
-use Symfony\Component\Finder\Finder;
22 21
 use Symfony\Component\Filesystem\Filesystem;
22
+use Symfony\Component\Finder\Finder;
23 23
 
24 24
 class SchemaService
25 25
 {
Please login to merge, or discard this patch.
codeception/acceptance/EA07BasicinfoCest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,7 @@  discard block
 block discarded – undo
11 11
  * file that was distributed with this source code.
12 12
  */
13 13
 
14
+use Codeception\Util\Fixtures;
14 15
 use Page\Admin\CsvSettingsPage;
15 16
 use Page\Admin\DeliveryEditPage;
16 17
 use Page\Admin\DeliveryManagePage;
@@ -19,7 +20,6 @@  discard block
 block discarded – undo
19 20
 use Page\Admin\PaymentManagePage;
20 21
 use Page\Admin\ShopSettingPage;
21 22
 use Page\Admin\TaxManagePage;
22
-use Codeception\Util\Fixtures;
23 23
 
24 24
 /**
25 25
  * @group admin
Please login to merge, or discard this patch.
src/Eccube/Controller/ShippingMultipleController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,9 +27,9 @@
 block discarded – undo
27 27
 use Eccube\Repository\OrderRepository;
28 28
 use Eccube\Repository\TaxRuleRepository;
29 29
 use Eccube\Service\CartService;
30
+use Eccube\Service\OrderHelper;
30 31
 use Eccube\Service\PurchaseFlow\PurchaseContext;
31 32
 use Eccube\Service\PurchaseFlow\PurchaseFlow;
32
-use Eccube\Service\OrderHelper;
33 33
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
34 34
 use Symfony\Component\Form\Extension\Core\Type\CollectionType;
35 35
 use Symfony\Component\HttpFoundation\Request;
Please login to merge, or discard this patch.
src/Eccube/Service/PurchaseFlow/Processor/PaymentChargePreprocessor.php 1 patch
Unused Use Statements   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -13,19 +13,19 @@
 block discarded – undo
13 13
 
14 14
 namespace Eccube\Service\PurchaseFlow\Processor;
15 15
 
16
-use Eccube\Repository\TaxRuleRepository;
17
-use Eccube\Service\PurchaseFlow\ItemHolderPreprocessor;
18 16
 use Eccube\Entity\ItemHolderInterface;
19
-use Eccube\Service\PurchaseFlow\PurchaseContext;
20
-use Eccube\Entity\OrderItem;
21
-use Eccube\Repository\Master\OrderItemTypeRepository;
22
-use Eccube\Repository\Master\TaxDisplayTypeRepository;
23 17
 use Eccube\Entity\Master\OrderItemType;
24 18
 use Eccube\Entity\Master\TaxDisplayType;
19
+use Eccube\Entity\Master\TaxType;
25 20
 use Eccube\Entity\Order;
21
+use Eccube\Entity\OrderItem;
26 22
 use Eccube\Entity\Payment;
23
+use Eccube\Repository\Master\OrderItemTypeRepository;
24
+use Eccube\Repository\Master\TaxDisplayTypeRepository;
27 25
 use Eccube\Repository\Master\TaxTypeRepository;
28
-use Eccube\Entity\Master\TaxType;
26
+use Eccube\Repository\TaxRuleRepository;
27
+use Eccube\Service\PurchaseFlow\ItemHolderPreprocessor;
28
+use Eccube\Service\PurchaseFlow\PurchaseContext;
29 29
 
30 30
 class PaymentChargePreprocessor implements ItemHolderPreprocessor
31 31
 {
Please login to merge, or discard this patch.