Completed
Push — master ( 078f7b...8720e8 )
by NOBU
51:57
created
src/Eccube/Form/Type/Admin/ChangePasswordType.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,6 @@
 block discarded – undo
25 25
 
26 26
 use Symfony\Component\Form\AbstractType;
27 27
 use Symfony\Component\Form\FormBuilderInterface;
28
-use Symfony\Component\Form\FormError;
29
-use Symfony\Component\Form\FormEvents;
30 28
 use Symfony\Component\OptionsResolver\OptionsResolverInterface;
31 29
 use Symfony\Component\Security\Core\Validator\Constraints\UserPassword;
32 30
 use Symfony\Component\Validator\Constraints as Assert;
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
 {
36 36
     private $app;
37 37
 
38
+    /**
39
+     * @param \Silex\Application $app
40
+     */
38 41
     public function __construct($app)
39 42
     {
40 43
         $this->app = $app;
Please login to merge, or discard this patch.
src/Eccube/Form/Type/Admin/PaymentRegisterType.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@
 block discarded – undo
36 36
 {
37 37
     protected $app;
38 38
 
39
+    /**
40
+     * @param \Silex\Application $app
41
+     */
39 42
     public function __construct($app)
40 43
     {
41 44
         $this->app = $app;
Please login to merge, or discard this patch.
src/Eccube/Form/Type/Admin/SearchProductType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@
 block discarded – undo
27 27
 use Symfony\Component\Form\AbstractType;
28 28
 use Symfony\Component\Form\Extension\Core\Type;
29 29
 use Symfony\Component\Form\FormBuilderInterface;
30
-use Symfony\Component\Validator\Constraints as Assert;
31 30
 
32 31
 class SearchProductType extends AbstractType
33 32
 {
Please login to merge, or discard this patch.
src/Eccube/Application.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -953,7 +953,7 @@
 block discarded – undo
953 953
      * 失敗 : \Doctrine\DBAL\DBALExceptionエラーが発生( 接続に失敗した場合 )、エラー画面を表示しdie()
954 954
      * 備考 : app['debug']がtrueの際は処理を行わない
955 955
      *
956
-     * @return boolean true
956
+     * @return null|boolean true
957 957
      *
958 958
      */
959 959
     protected function checkDatabaseConnection()
Please login to merge, or discard this patch.
src/Eccube/Service/PluginService.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@  discard block
 block discarded – undo
37 37
     const EVENT_YML = 'event.yml';
38 38
     private $app;
39 39
 
40
+    /**
41
+     * @param \Silex\Application $app
42
+     */
40 43
     public function __construct($app)
41 44
     {
42 45
         $this->app = $app;
@@ -102,6 +105,9 @@  discard block
 block discarded – undo
102 105
         }
103 106
     }
104 107
 
108
+    /**
109
+     * @param string $dir
110
+     */
105 111
     public function unpackPluginArchive($archive, $dir)
106 112
     {
107 113
         $extension = pathinfo($archive, PATHINFO_EXTENSION);
@@ -120,6 +126,9 @@  discard block
 block discarded – undo
120 126
         }
121 127
     }
122 128
 
129
+    /**
130
+     * @param string $dir
131
+     */
123 132
     public function checkPluginArchiveContent($dir, array $config_cache = array())
124 133
     {
125 134
         try {
@@ -161,6 +170,9 @@  discard block
 block discarded – undo
161 170
         }
162 171
     }
163 172
 
173
+    /**
174
+     * @param string $yml
175
+     */
164 176
     public function readYml($yml)
165 177
     {
166 178
         if (file_exists($yml)) {
@@ -178,6 +190,9 @@  discard block
 block discarded – undo
178 190
         // ディレクトリ名などに使われれるので厳しめ
179 191
     }
180 192
 
193
+    /**
194
+     * @param string $path
195
+     */
181 196
     public function deleteFile($path)
182 197
     {
183 198
         $f = new Filesystem();
@@ -197,6 +212,9 @@  discard block
 block discarded – undo
197 212
         return $this->app['config']['plugin_realdir'].'/'.$name;
198 213
     }
199 214
 
215
+    /**
216
+     * @param string $d
217
+     */
200 218
     public function createPluginDir($d)
201 219
     {
202 220
         $b = @mkdir($d);
@@ -256,6 +274,9 @@  discard block
 block discarded – undo
256 274
         return $p;
257 275
     }
258 276
 
277
+    /**
278
+     * @param string $method
279
+     */
259 280
     public function callPluginManagerMethod($meta, $method)
260 281
     {
261 282
         $class = '\\Plugin'.'\\'.$meta['code'].'\\'.'PluginManager';
Please login to merge, or discard this patch.
src/Eccube/Command/GeneratorCommand/AbstractPluginGenerator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -348,7 +348,7 @@  discard block
 block discarded – undo
348 348
      * @param array $metadatas
349 349
      * @param array $fsList
350 350
      * @param $pluginCode
351
-     * @param $codePath
351
+     * @param string $codePath
352 352
      */
353 353
     protected function generateMigration(array $metadatas, array &$fsList = array(), $pluginCode, $codePath)
354 354
     {
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
      *
374 374
      * @param $pluginCode
375 375
      * @param array $metadatas
376
-     * @return mixed|string
376
+     * @return string
377 377
      */
378 378
     protected function makeMigration($pluginCode, array $metadatas)
379 379
     {
Please login to merge, or discard this patch.
src/Eccube/Command/PluginCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,6 @@
 block discarded – undo
33 33
 use Symfony\Component\Console\Input\InputOption;
34 34
 use Symfony\Component\Console\Output\OutputInterface;
35 35
 use Symfony\Component\Console\Question\Question;
36
-use Symfony\Component\Validator\Constraints as Assert;
37 36
 
38 37
 class PluginCommand extends \Knp\Command\Command
39 38
 {
Please login to merge, or discard this patch.
src/Eccube/Controller/Admin/Product/CsvImportController.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -590,6 +590,8 @@  discard block
 block discarded – undo
590 590
     /**
591 591
      * 登録、更新時のエラー画面表示
592 592
      *
593
+     * @param Application $app
594
+     * @param string $twig
593 595
      */
594 596
     protected function render($app, $form, $headers, $twig)
595 597
     {
@@ -621,6 +623,7 @@  discard block
 block discarded – undo
621 623
      * アップロードされたCSVファイルの行ごとの処理
622 624
      *
623 625
      * @param $formFile
626
+     * @param Application $app
624 627
      * @return CsvImportService
625 628
      */
626 629
     protected function getImportData($app, $formFile)
@@ -666,6 +669,7 @@  discard block
 block discarded – undo
666 669
 
667 670
     /**
668 671
      * 商品画像の削除、登録
672
+     * @param CsvImportService $data
669 673
      */
670 674
     protected function createProductImage($row, Product $Product, $data)
671 675
     {
@@ -710,6 +714,8 @@  discard block
 block discarded – undo
710 714
 
711 715
     /**
712 716
      * 商品カテゴリの削除、登録
717
+     * @param Application $app
718
+     * @param CsvImportService $data
713 719
      */
714 720
     protected function createProductCategory($row, Product $Product, $app, $data)
715 721
     {
@@ -809,6 +815,8 @@  discard block
 block discarded – undo
809 815
 
810 816
     /**
811 817
      * 商品規格分類1、商品規格分類2がnullとなる商品規格情報を作成
818
+     * @param Application $app
819
+     * @param CsvImportService $data
812 820
      */
813 821
     protected function createProductClass($row, Product $Product, $app, $data, $ClassCategory1 = null, $ClassCategory2 = null)
814 822
     {
@@ -950,6 +958,8 @@  discard block
 block discarded – undo
950 958
 
951 959
     /**
952 960
      * 商品規格情報を更新
961
+     * @param Application $app
962
+     * @param CsvImportService $data
953 963
      */
954 964
     protected function updateProductClass($row, Product $Product, ProductClass $ProductClass, $app, $data)
955 965
     {
@@ -1096,6 +1106,7 @@  discard block
 block discarded – undo
1096 1106
     /**
1097 1107
      * 登録、更新時のエラー画面表示
1098 1108
      *
1109
+     * @param string $message
1099 1110
      */
1100 1111
     protected function addErrors($message)
1101 1112
     {
@@ -1170,6 +1181,7 @@  discard block
 block discarded – undo
1170 1181
      * ProductCategory作成
1171 1182
      * @param \Eccube\Entity\Product $Product
1172 1183
      * @param \Eccube\Entity\Category $Category
1184
+     * @param integer $rank
1173 1185
      * @return ProductCategory
1174 1186
      */
1175 1187
     private function makeProductCategory($Product, $Category, $rank)
Please login to merge, or discard this patch.
src/Eccube/Controller/Admin/Product/ProductClassController.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -531,6 +531,9 @@  discard block
 block discarded – undo
531 531
     /**
532 532
      * 登録、更新時のエラー画面表示
533 533
      *
534
+     * @param Application $app
535
+     * @param boolean $not_product_class
536
+     * @param \Symfony\Component\Form\FormInterface $classForm
534 537
      */
535 538
     protected function render($app, $Product, $ProductClass, $not_product_class, $classForm, $error = null)
536 539
     {
@@ -582,6 +585,7 @@  discard block
 block discarded – undo
582 585
 
583 586
     /**
584 587
      * 規格1と規格2を組み合わせた商品規格を作成
588
+     * @param Application $app
585 589
      */
586 590
     private function createProductClasses($app, Product $Product, ClassName $ClassName1 = null, ClassName $ClassName2 = null)
587 591
     {
@@ -669,6 +673,7 @@  discard block
 block discarded – undo
669 673
      *
670 674
      * @param $productClassDest コピー先となる商品規格
671 675
      * @param $productClassOrig コピー元となる商品規格
676
+     * @param Application $app
672 677
      */
673 678
     private function setDefualtProductClass($app, $productClassDest, $productClassOrig) {
674 679
         $productClassDest->setDeliveryDate($productClassOrig->getDeliveryDate());
Please login to merge, or discard this patch.