Completed
Pull Request — experimental/3.1 (#1985)
by Kentaro
26:46
created
src/Eccube/Controller/Admin/Store/TemplateController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
 use Eccube\Form\Type\Admin\TemplateType;
30 30
 use Eccube\Util\Str;
31 31
 use Symfony\Component\Filesystem\Filesystem;
32
-use Symfony\Component\Finder\Finder;
33 32
 use Symfony\Component\Form\Extension\Core\Type\HiddenType;
34 33
 use Symfony\Component\Form\FormError;
35 34
 use Symfony\Component\HttpFoundation\Request;
Please login to merge, or discard this patch.
app/Plugin/ExamplePlugin/Controller/ExampleController.php 1 patch
Unused Use Statements   -8 removed lines patch added patch discarded remove patch
@@ -3,21 +3,13 @@
 block discarded – undo
3 3
 
4 4
 use Eccube\Application;
5 5
 use Eccube\Entity\Payment;
6
-use Eccube\Event\EccubeEvents;
7
-use Eccube\Event\EventArgs;
8 6
 use Eccube\Form\Type\Shopping\OrderType;
9
-use Plugin\ExamplePlugin\Service\Calculator\Strategy\ExamplePaymentStrategy;
10 7
 use Plugin\ExamplePlugin\Entity\ExamplePayment;
11
-use Symfony\Component\Form\Extension\Core\Type\TextareaType;
12 8
 use Symfony\Component\HttpFoundation\Response;
13 9
 use Symfony\Component\HttpFoundation\Request;
14
-use Symfony\Component\HttpFoundation\ParameterBag;
15
-use Symfony\Component\Validator\Constraints\Length;
16 10
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
17 11
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
18
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
19 12
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
20
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
21 13
 
22 14
 /**
23 15
  * @Route("/shopping")
Please login to merge, or discard this patch.
app/Plugin/ExamplePlugin/PluginManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Eccube\Common\Constant;
6 6
 use Eccube\Plugin\AbstractPluginManager;
7
-use Symfony\Component\Filesystem\Filesystem;
8 7
 use Plugin\ExamplePlugin\Entity\ExamplePayment;
9 8
 
10 9
 class PluginManager extends AbstractPluginManager
Please login to merge, or discard this patch.
src/Eccube/Controller/Admin/Store/PluginController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
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\Form\Extension\Core\Type\TextType;
Please login to merge, or discard this patch.
src/Eccube/Controller/ShoppingController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -40,9 +40,7 @@
 block discarded – undo
40 40
 use Eccube\Form\Type\ShippingMultipleType;
41 41
 use Eccube\Form\Type\Shopping\OrderType;
42 42
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
43
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
44 43
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
45
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
46 44
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
47 45
 use Symfony\Component\Form\Extension\Core\Type\CollectionType;
48 46
 use Symfony\Component\HttpFoundation\Request;
Please login to merge, or discard this patch.
src/Eccube/Service/PluginService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
 
27 27
 use Eccube\Common\Constant;
28 28
 use Eccube\Exception\PluginException;
29
-use Eccube\Plugin\ConfigManager;
30 29
 use Eccube\Plugin\ConfigManager as PluginConfigManager;
31 30
 use Eccube\Util\Cache;
32 31
 use Eccube\Util\Str;
Please login to merge, or discard this patch.
src/Eccube/Application.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -24,9 +24,6 @@  discard block
 block discarded – undo
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 Eccube\Routing\EccubeRouter;
32 29
 use Sergiors\Silex\Provider\AnnotationsServiceProvider;
@@ -36,13 +33,10 @@  discard block
 block discarded – undo
36 33
 use Sergiors\Silex\Provider\TemplatingServiceProvider;
37 34
 use Sergiors\Silex\Routing\ChainUrlGenerator;
38 35
 use Sergiors\Silex\Routing\ChainUrlMatcher;
39
-use Symfony\Component\EventDispatcher\EventDispatcher;
40 36
 use Symfony\Component\Finder\Finder;
41 37
 use Symfony\Component\HttpFoundation\Request;
42 38
 use Symfony\Component\HttpFoundation\Response;
43 39
 use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
44
-use Symfony\Component\HttpKernel\Event\GetResponseEvent;
45
-use Symfony\Component\HttpKernel\Event\PostResponseEvent;
46 40
 use Symfony\Component\HttpKernel\KernelEvents;
47 41
 use Symfony\Component\Yaml\Yaml;
48 42
 
Please login to merge, or discard this patch.
src/Eccube/ServiceProvider/EccubeServiceProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 
25 25
 namespace Eccube\ServiceProvider;
26 26
 
27
-use Eccube\EventListener\TransactionListener;
28 27
 use Eccube\Service\OrderHelper;
29 28
 use Pimple\Container;
30 29
 use Pimple\ServiceProviderInterface;
Please login to merge, or discard this patch.
src/Eccube/ServiceProvider/DebugServiceProvider.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -24,18 +24,15 @@
 block discarded – undo
24 24
 
25 25
 namespace Eccube\ServiceProvider;
26 26
 
27
-use Eccube\Common\Constant;
28 27
 use Eccube\DataCollector\EccubeDataCollector;
29 28
 use Pimple\Container;
30 29
 use Pimple\ServiceProviderInterface;
31 30
 use Silex\Api\BootableProviderInterface;
32 31
 use Silex\Application;
33 32
 use Symfony\Bridge\Twig\Extension\DumpExtension;
34
-use Symfony\Component\EventDispatcher\EventDispatcherInterface;
35 33
 use Symfony\Component\HttpKernel\DataCollector\DumpDataCollector;
36 34
 use Symfony\Component\HttpKernel\EventListener\DumpListener;
37 35
 use Symfony\Component\VarDumper\Cloner\VarCloner;
38
-use Symfony\Component\VarDumper\Dumper\CliDumper;
39 36
 use Symfony\Component\VarDumper\Dumper\HtmlDumper;
40 37
 use Symfony\Component\VarDumper\VarDumper;
41 38
 
Please login to merge, or discard this patch.