Failed Conditions
Push — experimental/3.1 ( b8586b...76ccda )
by chihiro
19s
created
src/Eccube/Application.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -27,8 +27,6 @@  discard block
 block discarded – undo
27 27
 use Eccube\Application\ApplicationTrait;
28 28
 use Eccube\Common\Constant;
29 29
 use Eccube\Doctrine\DBAL\Types\UTCDateTimeType;
30
-use Eccube\Doctrine\ORM\Mapping\Driver\YamlDriver;
31
-use Eccube\EventListener\TransactionListener;
32 30
 use Eccube\Plugin\ConfigManager as PluginConfigManager;
33 31
 use Eccube\Routing\EccubeRouter;
34 32
 use Eccube\ServiceProvider\MobileDetectServiceProvider;
@@ -39,13 +37,11 @@  discard block
 block discarded – undo
39 37
 use Sergiors\Silex\Provider\TemplatingServiceProvider;
40 38
 use Sergiors\Silex\Routing\ChainUrlGenerator;
41 39
 use Sergiors\Silex\Routing\ChainUrlMatcher;
42
-use Symfony\Component\EventDispatcher\EventDispatcher;
43 40
 use Symfony\Component\Finder\Finder;
44 41
 use Symfony\Component\HttpFoundation\Request;
45 42
 use Symfony\Component\HttpFoundation\Response;
46 43
 use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
47 44
 use Symfony\Component\HttpKernel\Event\GetResponseEvent;
48
-use Symfony\Component\HttpKernel\Event\PostResponseEvent;
49 45
 use Symfony\Component\HttpKernel\KernelEvents;
50 46
 use Symfony\Component\Yaml\Yaml;
51 47
 
Please login to merge, or discard this patch.
src/Eccube/Resource/doctrine/migration/Version20150722170707.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     {
18 18
         return;
19 19
 
20
-        if($this->connection->getDatabasePlatform()->getName() == "mysql"){
20
+        if ($this->connection->getDatabasePlatform()->getName() == "mysql") {
21 21
             // this up() migration is auto-generated, please modify it to your needs
22 22
             $this->addSql("alter table  dtb_base_info                 collate utf8_general_ci ;");
23 23
             $this->addSql("alter table  dtb_block                     collate utf8_general_ci ;");
Please login to merge, or discard this patch.
src/Eccube/Doctrine/ORM/Query/Extract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,14 +121,14 @@
 block discarded – undo
121 121
                 $sql = sprintf(
122 122
                     "EXTRACT(%s FROM %s %s $op INTERVAL '$second SECONDS')",
123 123
                     $this->field,
124
-                    (string)$this->type,
124
+                    (string) $this->type,
125 125
                     $this->source->dispatch($sqlWalker));
126 126
                 break;
127 127
             default:
128 128
                 $sql = sprintf(
129 129
                     "EXTRACT(%s FROM %s %s $op INTERVAL $second SECOND)",
130 130
                     $this->field,
131
-                    (string)$this->type,
131
+                    (string) $this->type,
132 132
                     $this->source->dispatch($sqlWalker));
133 133
         }
134 134
 
Please login to merge, or discard this patch.