Completed
Push — support-coverage ( 9a8e61...2263e6 )
by Kentaro
34:05
created
src/Eccube/Doctrine/Common/CsvDataFixtures/Loader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
             ->name('*.csv')
50 50
             ->sort(
51 51
                 // 定義ファイルに記載の順にソート.
52
-                function (\SplFileInfo $a, \SplFileInfo $b) use ($definition) {
52
+                function(\SplFileInfo $a, \SplFileInfo $b) use ($definition) {
53 53
                     if (!isset($definition[$a->getFilename()])) {
54 54
                         throw new \Exception(sprintf('"%s" is undefined in %s', $a->getFilename()));
55 55
                     }
Please login to merge, or discard this patch.
src/Eccube/Doctrine/Common/CsvDataFixtures/CsvFixture.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         }
41 41
 
42 42
         // CSV Reader に設定
43
-        $this->file->setFlags(\SplFileObject::READ_CSV | \SplFileObject::READ_AHEAD | \SplFileObject::SKIP_EMPTY | \SplFileObject::DROP_NEW_LINE);
43
+        $this->file->setFlags(\SplFileObject::READ_CSV|\SplFileObject::READ_AHEAD|\SplFileObject::SKIP_EMPTY|\SplFileObject::DROP_NEW_LINE);
44 44
 
45 45
         // ヘッダ行を取得
46 46
         $headers = $this->file->current();
Please login to merge, or discard this patch.
src/Eccube/Doctrine/ORM/Tools/Pagination/CountWalker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
         }
68 68
 
69 69
         $pathExpression = new PathExpression(
70
-            PathExpression::TYPE_STATE_FIELD | PathExpression::TYPE_SINGLE_VALUED_ASSOCIATION, $rootAlias,
70
+            PathExpression::TYPE_STATE_FIELD|PathExpression::TYPE_SINGLE_VALUED_ASSOCIATION, $rootAlias,
71 71
             $identifierFieldName
72 72
         );
73 73
         $pathExpression->type = $pathType;
Please login to merge, or discard this patch.
src/Eccube/Doctrine/ORM/Tools/Pagination/WhereInWalker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
             $pathType = PathExpression::TYPE_SINGLE_VALUED_ASSOCIATION;
88 88
         }
89 89
 
90
-        $pathExpression = new PathExpression(PathExpression::TYPE_STATE_FIELD | PathExpression::TYPE_SINGLE_VALUED_ASSOCIATION, $rootAlias, $identifierFieldName);
90
+        $pathExpression = new PathExpression(PathExpression::TYPE_STATE_FIELD|PathExpression::TYPE_SINGLE_VALUED_ASSOCIATION, $rootAlias, $identifierFieldName);
91 91
         $pathExpression->type = $pathType;
92 92
 
93 93
         $count = $this->_getQuery()->getHint(self::HINT_PAGINATOR_ID_COUNT);
Please login to merge, or discard this patch.
src/Eccube/Doctrine/ORM/Tools/Pagination/LimitSubqueryWalker.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         );
91 91
 
92 92
         $pathExpression = new PathExpression(
93
-            PathExpression::TYPE_STATE_FIELD | PathExpression::TYPE_SINGLE_VALUED_ASSOCIATION,
93
+            PathExpression::TYPE_STATE_FIELD|PathExpression::TYPE_SINGLE_VALUED_ASSOCIATION,
94 94
             $rootAlias,
95 95
             $identifier
96 96
         );
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
                     && isset($queryComponents[$expression->identificationVariable])) {
143 143
                     $queryComponent = $queryComponents[$expression->identificationVariable];
144 144
                     if (isset($queryComponent['parent'])
145
-                        && $queryComponent['relation']['type'] & ClassMetadataInfo::TO_MANY) {
145
+                        && $queryComponent['relation']['type']&ClassMetadataInfo::TO_MANY) {
146 146
                         throw new \RuntimeException('Cannot select distinct identifiers from query with LIMIT and ORDER BY on a column from a fetch joined to-many association. Use output walkers.');
147 147
                     }
148 148
                 }
Please login to merge, or discard this patch.
src/Eccube/Twig/Extension/RepositoryExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     public function getFunctions()
22 22
     {
23 23
         return [
24
-            new TwigFunction('repository', function ($entity) {
24
+            new TwigFunction('repository', function($entity) {
25 25
                 $repository = $this->em->getRepository($entity);
26 26
 
27 27
                 return $repository;
Please login to merge, or discard this patch.
src/Eccube/Twig/Extension/EccubeBlockExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function getFunctions()
28 28
     {
29 29
         return [
30
-            new TwigFunction('eccube_block_*', function () {
30
+            new TwigFunction('eccube_block_*', function() {
31 31
                 $sources = $this->blockTemplates;
32 32
                 $arg_list = func_get_args();
33 33
                 $block_name = array_shift($arg_list);
Please login to merge, or discard this patch.
src/Eccube/Repository/OrderRepository.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -290,8 +290,8 @@
 block discarded – undo
290 290
             $multi = preg_match('/^\d{0,10}$/', $searchData['multi']) ? $searchData['multi'] : null;
291 291
             $qb
292 292
                 ->andWhere('o.id = :multi OR o.name01 LIKE :likemulti OR o.name02 LIKE :likemulti OR '.
293
-                           'o.kana01 LIKE :likemulti OR o.kana02 LIKE :likemulti OR o.company_name LIKE :likemulti OR '.
294
-                           'o.code LIKE :likemulti')
293
+                            'o.kana01 LIKE :likemulti OR o.kana02 LIKE :likemulti OR o.company_name LIKE :likemulti OR '.
294
+                            'o.code LIKE :likemulti')
295 295
                 ->setParameter('multi', $multi)
296 296
                 ->setParameter('likemulti', '%'.$searchData['multi'].'%');
297 297
         }
Please login to merge, or discard this patch.
src/Eccube/Repository/AbstractRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,6 +40,6 @@
 block discarded – undo
40 40
     {
41 41
         // $options = $this->eccubeConfig['doctrine_cache'];
42 42
         // return $options['result_cache']['lifetime'];
43
-        return 0;               // FIXME
43
+        return 0; // FIXME
44 44
     }
45 45
 }
Please login to merge, or discard this patch.