Completed
Branch apply-codeceptions (1627fe)
by Kentaro
70:52 queued 59:01
created
src/Eccube/Entity/Payment.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -379,7 +379,7 @@
 block discarded – undo
379 379
     }
380 380
 
381 381
     /**
382
-     * @return boolean
382
+     * @return integer
383 383
      */
384 384
     public function isVisible()
385 385
     {
Please login to merge, or discard this patch.
src/Eccube/Command/PluginGenerateCommand.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -147,6 +147,9 @@  discard block
 block discarded – undo
147 147
         return $version;
148 148
     }
149 149
 
150
+    /**
151
+     * @param string $pluginDir
152
+     */
150 153
     protected function createDirectories($pluginDir)
151 154
     {
152 155
         $dirs = [
@@ -165,6 +168,9 @@  discard block
 block discarded – undo
165 168
         }
166 169
     }
167 170
 
171
+    /**
172
+     * @param string $pluginDir
173
+     */
168 174
     protected function createConfig($pluginDir, $name, $code, $version)
169 175
     {
170 176
         $source = <<<EOL
@@ -176,12 +182,18 @@  discard block
 block discarded – undo
176 182
         $this->fs->dumpFile($pluginDir.'/config.yml', $source);
177 183
     }
178 184
 
185
+    /**
186
+     * @param string $pluginDir
187
+     */
179 188
     protected function createMessages($pluginDir)
180 189
     {
181 190
         $this->fs->dumpFile($pluginDir.'/Resource/locale/messages.ja.yaml', '');
182 191
         $this->fs->dumpFile($pluginDir.'/Resource/locale/validators.ja.yaml', '');
183 192
     }
184 193
 
194
+    /**
195
+     * @param string $pluginDir
196
+     */
185 197
     protected function createTwigBlock($pluginDir, $code)
186 198
     {
187 199
         $source = <<<EOL
@@ -206,6 +218,9 @@  discard block
 block discarded – undo
206 218
         $this->fs->dumpFile($pluginDir.'/TwigBlock.php', $source);
207 219
     }
208 220
 
221
+    /**
222
+     * @param string $pluginDir
223
+     */
209 224
     protected function createNav($pluginDir, $code)
210 225
     {
211 226
         $source = <<<EOL
@@ -230,6 +245,9 @@  discard block
 block discarded – undo
230 245
         $this->fs->dumpFile($pluginDir.'/Nav.php', $source);
231 246
     }
232 247
 
248
+    /**
249
+     * @param string $pluginDir
250
+     */
233 251
     protected function createEvent($pluginDir, $code)
234 252
     {
235 253
         $source = <<<EOL
@@ -254,6 +272,9 @@  discard block
 block discarded – undo
254 272
         $this->fs->dumpFile($pluginDir.'/Event.php', $source);
255 273
     }
256 274
 
275
+    /**
276
+     * @param string $pluginDir
277
+     */
257 278
     protected function createConfigController($pluginDir, $code)
258 279
     {
259 280
         $snakecased = Container::underscore($code);
Please login to merge, or discard this patch.
src/Eccube/Controller/CartController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      * @param ProductClassRepository $productClassRepository
57 57
      * @param CartService $cartService
58 58
      * @param PurchaseFlow $cartPurchaseFlow
59
-     * @param BaseInfo $BaseInfo
59
+     * @param BaseInfo $baseInfo
60 60
      */
61 61
     public function __construct(
62 62
         ProductClassRepository $productClassRepository,
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,7 @@  discard block
 block discarded – undo
13 13
 
14 14
 namespace Eccube\Controller;
15 15
 
16
+use Eccube\Entity\BaseInfo;
16 17
 use Eccube\Entity\Cart;
17 18
 use Eccube\Entity\ProductClass;
18 19
 use Eccube\Event\EccubeEvents;
@@ -26,7 +27,6 @@  discard block
 block discarded – undo
26 27
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
27 28
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
28 29
 use Symfony\Component\HttpFoundation\Request;
29
-use Eccube\Entity\BaseInfo;
30 30
 
31 31
 class CartController extends AbstractController
32 32
 {
Please login to merge, or discard this patch.
src/Eccube/Controller/Admin/Order/CsvImportController.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\Controller\Admin\Order;
15 15
 
16 16
 use Eccube\Controller\Admin\AbstractCsvImportController;
17
-use Eccube\Entity\Shipping;
18 17
 use Eccube\Entity\Master\OrderStatus;
18
+use Eccube\Entity\Shipping;
19 19
 use Eccube\Form\Type\Admin\CsvImportType;
20 20
 use Eccube\Repository\ShippingRepository;
21 21
 use Eccube\Service\CsvImportService;
Please login to merge, or discard this patch.
src/Eccube/Controller/Admin/Order/OrderController.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -381,7 +381,7 @@  discard block
 block discarded – undo
381 381
     /**
382 382
      * @param Request $request
383 383
      * @param $csvTypeId
384
-     * @param $fileName
384
+     * @param string $fileName
385 385
      *
386 386
      * @return StreamedResponse
387 387
      */
@@ -465,9 +465,9 @@  discard block
 block discarded – undo
465 465
      * @Route("/%eccube_admin_route%/shipping/{id}/order_status", requirements={"id" = "\d+"}, name="admin_shipping_update_order_status")
466 466
      *
467 467
      * @param Request $request
468
-     * @param Shipping $shipping
468
+     * @param Shipping $Shipping
469 469
      *
470
-     * @return RedirectResponse
470
+     * @return \Symfony\Component\HttpFoundation\JsonResponse
471 471
      */
472 472
     public function updateOrderStatus(Request $request, Shipping $Shipping)
473 473
     {
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -36,22 +36,20 @@
 block discarded – undo
36 36
 use Eccube\Repository\OrderRepository;
37 37
 use Eccube\Repository\PaymentRepository;
38 38
 use Eccube\Service\CsvExportService;
39
-use Eccube\Service\PurchaseFlow\PurchaseContext;
40
-use Eccube\Service\PurchaseFlow\PurchaseException;
41
-use Eccube\Service\PurchaseFlow\PurchaseFlow;
42 39
 use Eccube\Service\MailService;
43 40
 use Eccube\Service\OrderPdfService;
44 41
 use Eccube\Service\OrderStateMachine;
42
+use Eccube\Service\PurchaseFlow\PurchaseFlow;
45 43
 use Eccube\Util\FormUtil;
46 44
 use Knp\Component\Pager\PaginatorInterface;
47 45
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
48 46
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
49 47
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
50 48
 use Symfony\Component\Form\FormBuilder;
51
-use Symfony\Component\HttpFoundation\Response;
49
+use Symfony\Component\HttpFoundation\RedirectResponse;
52 50
 use Symfony\Component\HttpFoundation\Request;
51
+use Symfony\Component\HttpFoundation\Response;
53 52
 use Symfony\Component\HttpFoundation\StreamedResponse;
54
-use Symfony\Component\HttpFoundation\RedirectResponse;
55 53
 use Symfony\Component\Validator\Constraints as Assert;
56 54
 use Symfony\Component\Validator\Validator\ValidatorInterface;
57 55
 
Please login to merge, or discard this patch.
src/Eccube/Controller/Admin/Order/ShippingController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,7 @@  discard block
 block discarded – undo
24 24
 use Eccube\Repository\DeliveryRepository;
25 25
 use Eccube\Repository\OrderItemRepository;
26 26
 use Eccube\Repository\ShippingRepository;
27
+use Eccube\Service\MailService;
27 28
 use Eccube\Service\OrderStateMachine;
28 29
 use Eccube\Service\TaxRuleService;
29 30
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
@@ -37,7 +38,6 @@  discard block
 block discarded – undo
37 38
 use Symfony\Component\HttpFoundation\Request;
38 39
 use Symfony\Component\HttpFoundation\Response;
39 40
 use Symfony\Component\Serializer\SerializerInterface;
40
-use Eccube\Service\MailService;
41 41
 
42 42
 class ShippingController extends AbstractController
43 43
 {
Please login to merge, or discard this patch.
src/Eccube/DependencyInjection/EccubeExtension.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -156,6 +156,9 @@
 block discarded – undo
156 156
         return empty($tables) ? false : true;
157 157
     }
158 158
 
159
+    /**
160
+     * @param string $pluginDir
161
+     */
159 162
     protected function getPluginDirectories($pluginDir)
160 163
     {
161 164
         $finder = (new Finder())
Please login to merge, or discard this patch.
src/Eccube/Entity/Order.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1336,7 +1336,7 @@
 block discarded – undo
1336 1336
      *
1337 1337
      * @param \Eccube\Entity\Shipping $Shipping
1338 1338
      *
1339
-     * @return Shipping
1339
+     * @return Order
1340 1340
      */
1341 1341
     public function addShipping(\Eccube\Entity\Shipping $Shipping)
1342 1342
     {
Please login to merge, or discard this patch.
src/Eccube/EventListener/SecurityListener.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,10 +21,10 @@
 block discarded – undo
21 21
 use Eccube\Service\PurchaseFlow\PurchaseFlow;
22 22
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
23 23
 use Symfony\Component\HttpFoundation\RequestStack;
24
+use Symfony\Component\Security\Core\AuthenticationEvents;
24 25
 use Symfony\Component\Security\Core\Event\AuthenticationFailureEvent;
25 26
 use Symfony\Component\Security\Http\Event\InteractiveLoginEvent;
26 27
 use Symfony\Component\Security\Http\SecurityEvents;
27
-use Symfony\Component\Security\Core\AuthenticationEvents;
28 28
 
29 29
 class SecurityListener implements EventSubscriberInterface
30 30
 {
Please login to merge, or discard this patch.