Failed Conditions
Pull Request — 4.0 (#4586)
by Kentaro
44:48 queued 31:32
created
src/Eccube/Controller/EntryController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -251,7 +251,7 @@
 block discarded – undo
251 251
             ]
252 252
         );
253 253
 
254
-        if(!is_null($qtyInCart)) {
254
+        if (!is_null($qtyInCart)) {
255 255
 
256 256
             return [
257 257
                 'qtyInCart' => $qtyInCart,
Please login to merge, or discard this patch.
src/Eccube/Session/Storage/Handler/SameSiteNoneCompatSessionHandler.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -126,14 +126,14 @@
 block discarded – undo
126 126
                     setcookie($this->sessionName, '', 0, ini_get('session.cookie_path'), ini_get('session.cookie_domain'), filter_var(ini_get('session.cookie_secure'), FILTER_VALIDATE_BOOLEAN), filter_var(ini_get('session.cookie_httponly'), FILTER_VALIDATE_BOOLEAN));
127 127
                 } else {
128 128
                     setcookie($this->sessionName, '',
129
-                              [
130
-                                  'expires' => 0,
131
-                                  'path' => $this->getCookiePath(),
132
-                                  'domain' => ini_get('session.cookie_domain'),
133
-                                  'secure' => filter_var(ini_get('session.cookie_secure'), FILTER_VALIDATE_BOOLEAN),
134
-                                  'httponly' => filter_var(ini_get('session.cookie_httponly'), FILTER_VALIDATE_BOOLEAN),
135
-                                  'samesite' => $this->getCookieSameSite(),
136
-                              ]
129
+                                [
130
+                                    'expires' => 0,
131
+                                    'path' => $this->getCookiePath(),
132
+                                    'domain' => ini_get('session.cookie_domain'),
133
+                                    'secure' => filter_var(ini_get('session.cookie_secure'), FILTER_VALIDATE_BOOLEAN),
134
+                                    'httponly' => filter_var(ini_get('session.cookie_httponly'), FILTER_VALIDATE_BOOLEAN),
135
+                                    'samesite' => $this->getCookieSameSite(),
136
+                                ]
137 137
                     );
138 138
                 }
139 139
             }
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/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.