Completed
Push — experimental/symfony4.4-clear-... ( 9ac73e )
by Kentaro
13:18
created
src/Eccube/Form/Type/Admin/ProductClassType.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,6 +13,8 @@  discard block
 block discarded – undo
13 13
 
14 14
 namespace Eccube\Form\Type\Admin;
15 15
 
16
+use Doctrine\ORM\EntityManagerInterface;
17
+use Eccube\Entity\ClassCategory;
16 18
 use Eccube\Form\DataTransformer;
17 19
 use Eccube\Form\Type\Master\DeliveryDurationType;
18 20
 use Eccube\Form\Type\Master\SaleTypeType;
@@ -27,8 +29,6 @@  discard block
 block discarded – undo
27 29
 use Symfony\Component\Form\FormEvents;
28 30
 use Symfony\Component\OptionsResolver\OptionsResolver;
29 31
 use Symfony\Component\Validator\Constraints as Assert;
30
-use Doctrine\ORM\EntityManagerInterface;
31
-use Eccube\Entity\ClassCategory;
32 32
 
33 33
 class ProductClassType extends AbstractType
34 34
 {
Please login to merge, or discard this patch.
src/Eccube/Form/Type/Admin/ProductType.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
     /**
195 195
      * 指定された複数ディレクトリのうち、いずれかのディレクトリ以下にファイルが存在するかを確認。
196 196
      *
197
-     * @param $form FormInterface
197
+     * @param FormInterface $form FormInterface
198 198
      * @param $dirs array
199 199
      */
200 200
     private function validateFilePath($form, $dirs)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
 use Symfony\Component\Form\Extension\Core\Type\CollectionType;
25 25
 use Symfony\Component\Form\Extension\Core\Type\FileType;
26 26
 use Symfony\Component\Form\Extension\Core\Type\HiddenType;
27
-use Symfony\Component\Form\Extension\Core\Type\TextareaType;
28 27
 use Symfony\Component\Form\Extension\Core\Type\TextType;
28
+use Symfony\Component\Form\Extension\Core\Type\TextareaType;
29 29
 use Symfony\Component\Form\FormBuilderInterface;
30 30
 use Symfony\Component\Form\FormError;
31 31
 use Symfony\Component\Form\FormEvent;
Please login to merge, or discard this patch.
src/Eccube/Form/Validator/EmailValidator.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
 
16 16
 use Eccube\Validator\EmailValidator\NoRFCEmailValidator;
17 17
 use Symfony\Component\Validator\Constraint;
18
-use Symfony\Component\Validator\Constraints\EmailValidator as BaseEmailValidator;
19 18
 use Symfony\Component\Validator\ConstraintValidator;
19
+use Symfony\Component\Validator\Constraints\EmailValidator as BaseEmailValidator;
20 20
 use Symfony\Component\Validator\Exception\UnexpectedTypeException;
21 21
 
22 22
 /**
Please login to merge, or discard this patch.
src/Eccube/Plugin/AbstractPluginManager.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@
 block discarded – undo
14 14
 namespace Eccube\Plugin;
15 15
 
16 16
 use Doctrine\DBAL\Connection;
17
-use Doctrine\DBAL\Migrations\Migration;
18 17
 use Doctrine\DBAL\Migrations\Configuration\Configuration;
18
+use Doctrine\DBAL\Migrations\Migration;
19 19
 use Symfony\Component\DependencyInjection\ContainerInterface;
20 20
 
21 21
 abstract class AbstractPluginManager
Please login to merge, or discard this patch.
src/Eccube/Repository/PageRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
      * @param  string                            $where 追加の検索条件
133 133
      * @param  string[]                          $parameters 追加の検索パラメーター
134 134
      *
135
-     * @return array                             ページ属性の配列
135
+     * @return null|\Symfony\Component\HttpFoundation\Request                             ページ属性の配列
136 136
      */
137 137
     public function getPageList($where = null, $parameters = [])
138 138
     {
Please login to merge, or discard this patch.
src/Eccube/Resource/functions/log.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@  discard block
 block discarded – undo
37 37
     $logger->error($message, $context);
38 38
 }
39 39
 
40
+/**
41
+ * @param string $message
42
+ */
40 43
 function log_warning($message, array $context = [])
41 44
 {
42 45
     $logger = LoggerFacade::create();
@@ -55,6 +58,9 @@  discard block
 block discarded – undo
55 58
     $logger->info($message, $context);
56 59
 }
57 60
 
61
+/**
62
+ * @param string $message
63
+ */
58 64
 function log_debug($message, array $context = [])
59 65
 {
60 66
     $logger = LoggerFacade::create();
Please login to merge, or discard this patch.
src/Eccube/Service/Composer/ComposerProcessService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
      *
83 83
      * @throws PluginException
84 84
      *
85
-     * @param string $command
85
+     * @param string[] $commands
86 86
      */
87 87
     public function runCommand($commands, $output = null, $init = true)
88 88
     {
Please login to merge, or discard this patch.
src/Eccube/Service/CsvExportService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@
 block discarded – undo
28 28
 use Eccube\Repository\OrderRepository;
29 29
 use Eccube\Repository\ProductRepository;
30 30
 use Eccube\Repository\ShippingRepository;
31
-use Eccube\Util\EntityUtil;
32 31
 use Eccube\Util\FormUtil;
33 32
 use Symfony\Component\Form\FormFactoryInterface;
34 33
 use Symfony\Component\HttpFoundation\Request;
Please login to merge, or discard this patch.
src/Eccube/Service/OrderPdfService.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@
 block discarded – undo
240 240
     /**
241 241
      * PDFファイルを出力する.
242 242
      *
243
-     * @return string|mixed
243
+     * @return string
244 244
      */
245 245
     public function outputPdf()
246 246
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -559,7 +559,7 @@
 block discarded – undo
559 559
             $arrOrder[$i][2] = '';
560 560
             $arrOrder[$i][3] = '';
561 561
 
562
-            foreach($Order->getTaxFreeDiscountItems() as $Item) {
562
+            foreach ($Order->getTaxFreeDiscountItems() as $Item) {
563 563
                 ++$i;
564 564
                 $arrOrder[$i][0] = '';
565 565
                 $arrOrder[$i][1] = '';
Please login to merge, or discard this patch.