Completed
Branch modify-scrutinizeryml (c70e79)
by Kentaro
39:02
created
src/Eccube/Controller/Admin/Content/LayoutController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,12 +28,12 @@
 block discarded – undo
28 28
 use Symfony\Component\Form\Extension\Core\Type\FormType;
29 29
 use Symfony\Component\Form\Extension\Core\Type\TextType;
30 30
 use Symfony\Component\HttpFoundation\JsonResponse;
31
+use Symfony\Component\HttpFoundation\RedirectResponse;
31 32
 use Symfony\Component\HttpFoundation\Request;
32 33
 use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
33 34
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
34 35
 use Symfony\Component\Validator\Constraints\NotBlank;
35 36
 use Twig\Environment as Twig;
36
-use Symfony\Component\HttpFoundation\RedirectResponse;
37 37
 
38 38
 // todo プレビュー実装
39 39
 class LayoutController extends AbstractController
Please login to merge, or discard this patch.
src/Eccube/Controller/Admin/Content/PageController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,8 +21,8 @@
 block discarded – undo
21 21
 use Eccube\Event\EventArgs;
22 22
 use Eccube\Form\Type\Admin\MainEditType;
23 23
 use Eccube\Repository\Master\DeviceTypeRepository;
24
-use Eccube\Repository\PageRepository;
25 24
 use Eccube\Repository\PageLayoutRepository;
25
+use Eccube\Repository\PageRepository;
26 26
 use Eccube\Util\StringUtil;
27 27
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
28 28
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
Please login to merge, or discard this patch.
src/Eccube/Controller/Admin/Product/ClassCategoryController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@
 block discarded – undo
20 20
 use Eccube\Repository\ClassCategoryRepository;
21 21
 use Eccube\Repository\ClassNameRepository;
22 22
 use Eccube\Repository\ProductClassRepository;
23
+use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
23 24
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
24 25
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
25
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
26 26
 use Symfony\Component\HttpFoundation\Request;
27 27
 use Symfony\Component\HttpFoundation\Response;
28 28
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
Please login to merge, or discard this patch.
src/Eccube/Controller/Admin/Setting/Shop/MailController.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,11 +19,11 @@
 block discarded – undo
19 19
 use Eccube\Event\EventArgs;
20 20
 use Eccube\Form\Type\Admin\MailType;
21 21
 use Eccube\Repository\MailTemplateRepository;
22
+use Eccube\Util\StringUtil;
22 23
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
23 24
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
24
-use Symfony\Component\HttpFoundation\Request;
25 25
 use Symfony\Component\Filesystem\Filesystem;
26
-use Eccube\Util\StringUtil;
26
+use Symfony\Component\HttpFoundation\Request;
27 27
 use Twig\Environment;
28 28
 
29 29
 /**
Please login to merge, or discard this patch.
src/Eccube/Controller/Admin/Setting/Shop/PaymentController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,9 +25,9 @@
 block discarded – undo
25 25
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
26 26
 use Symfony\Component\Filesystem\Filesystem;
27 27
 use Symfony\Component\HttpFoundation\Request;
28
+use Symfony\Component\HttpFoundation\Response;
28 29
 use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
29 30
 use Symfony\Component\HttpKernel\Exception\UnsupportedMediaTypeHttpException;
30
-use Symfony\Component\HttpFoundation\Response;
31 31
 
32 32
 /**
33 33
  * Class PaymentController
Please login to merge, or discard this patch.
src/Eccube/Controller/Admin/Setting/System/MemberController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
24 24
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
25 25
 use Symfony\Component\HttpFoundation\Request;
26
-use Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface;
27 26
 use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
27
+use Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface;
28 28
 
29 29
 class MemberController extends AbstractController
30 30
 {
Please login to merge, or discard this patch.
src/Eccube/Controller/Admin/Shipping/CsvImportController.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,11 +14,11 @@
 block discarded – undo
14 14
 namespace Eccube\Controller\Admin\Shipping;
15 15
 
16 16
 use Eccube\Controller\AbstractController;
17
+use Eccube\Exception\CsvImportException;
18
+use Eccube\Form\Type\Admin\CsvImportType;
17 19
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
18 20
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
19
-use Eccube\Form\Type\Admin\CsvImportType;
20 21
 use Symfony\Component\Filesystem\Filesystem;
21
-use Eccube\Exception\CsvImportException;
22 22
 
23 23
 class CsvImportController extends AbstractController
24 24
 {
Please login to merge, or discard this patch.
src/Eccube/Controller/ShippingMultipleController.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,11 +26,11 @@
 block discarded – undo
26 26
 use Eccube\Repository\Master\OrderItemTypeRepository;
27 27
 use Eccube\Repository\Master\PrefRepository;
28 28
 use Eccube\Repository\OrderRepository;
29
+use Eccube\Service\CartService;
30
+use Eccube\Service\OrderHelper;
29 31
 use Eccube\Service\PurchaseFlow\PurchaseContext;
30 32
 use Eccube\Service\PurchaseFlow\PurchaseFlow;
31 33
 use Eccube\Service\ShoppingService;
32
-use Eccube\Service\CartService;
33
-use Eccube\Service\OrderHelper;
34 34
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
35 35
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
36 36
 use Symfony\Component\Form\Extension\Core\Type\CollectionType;
Please login to merge, or discard this patch.
src/Eccube/Entity/AbstractEntity.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -206,9 +206,9 @@  discard block
 block discarded – undo
206 206
      * コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー
207 207
      *
208 208
      * @param object $srcObject コピー元のオブジェクト
209
-     * @param array $excludeAttribute 除外したいフィールド名の配列
209
+     * @param string[] $excludeAttribute 除外したいフィールド名の配列
210 210
      *
211
-     * @return object
211
+     * @return AbstractEntity
212 212
      */
213 213
     public function copyProperties($srcObject, array $excludeAttribute = [])
214 214
     {
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
      *
223 223
      * @param Reader $Reader
224 224
      *
225
-     * @return object
225
+     * @return AbstractEntity
226 226
      */
227 227
     public function setAnnotationReader(Reader $Reader)
228 228
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,12 +16,12 @@
 block discarded – undo
16 16
 use Doctrine\Common\Annotations\Reader;
17 17
 use Doctrine\Common\Collections\Collection;
18 18
 use Doctrine\Common\Util\Inflector;
19
-use Doctrine\ORM\Mapping\MappedSuperclass;
20 19
 use Doctrine\ORM\Mapping\Id;
20
+use Doctrine\ORM\Mapping\MappedSuperclass;
21 21
 use Doctrine\ORM\Proxy\Proxy;
22
-use Symfony\Component\Serializer\Serializer;
23 22
 use Symfony\Component\Serializer\Encoder\XmlEncoder;
24 23
 use Symfony\Component\Serializer\Normalizer\PropertyNormalizer;
24
+use Symfony\Component\Serializer\Serializer;
25 25
 
26 26
 /** @MappedSuperclass */
27 27
 abstract class AbstractEntity implements \ArrayAccess
Please login to merge, or discard this patch.