Completed
Push — support-coverage ( b5dae6...9a8e61 )
by Kentaro
55:48
created
src/Eccube/Form/Type/Admin/SecurityType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
                 'required' => false,
98 98
                 'data' => $this->eccubeConfig->get('eccube_force_ssl'),
99 99
             ])
100
-            ->addEventListener(FormEvents::POST_SUBMIT, function ($event) {
100
+            ->addEventListener(FormEvents::POST_SUBMIT, function($event) {
101 101
                 $form = $event->getForm();
102 102
                 $data = $form->getData();
103 103
 
Please login to merge, or discard this patch.
src/Eccube/Form/Type/Admin/ProductType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
                 'mapped' => false,
98 98
                 'expanded' => true,
99 99
                 'choices' => $this->categoryRepository->getList(null, true),
100
-                'choice_value' => function (Category $Category = null) {
100
+                'choice_value' => function(Category $Category = null) {
101 101
                     return $Category ? $Category->getId() : null;
102 102
                 },
103 103
             ])
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             // 詳細な説明
106 106
             ->add('Tag', EntityType::class, [
107 107
                 'class' => 'Eccube\Entity\Tag',
108
-                'query_builder' => function ($er) {
108
+                'query_builder' => function($er) {
109 109
                     return $er->createQueryBuilder('t')
110 110
                     ->orderBy('t.sort_no', 'DESC');
111 111
                 },
Please login to merge, or discard this patch.
src/Eccube/Form/Type/Admin/BlockType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
                 'choice_label' => 'id',
105 105
             ])
106 106
             ->add('id', HiddenType::class)
107
-            ->addEventListener(FormEvents::POST_SUBMIT, function ($event) {
107
+            ->addEventListener(FormEvents::POST_SUBMIT, function($event) {
108 108
                 $form = $event->getForm();
109 109
                 $file_name = $form['file_name']->getData();
110 110
                 $DeviceType = $form['DeviceType']->getData();
Please login to merge, or discard this patch.
src/Eccube/Form/Type/Admin/MasterdataDataType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
             ->add('name', TextType::class, [
74 74
                 'required' => false,
75 75
             ])
76
-        ->addEventListener(FormEvents::POST_SUBMIT, function (FormEvent $event) {
76
+        ->addEventListener(FormEvents::POST_SUBMIT, function(FormEvent $event) {
77 77
             $form = $event->getForm();
78 78
             $data = $form->getData();
79 79
             if (strlen($data['id']) && strlen($data['name']) == 0) {
Please login to merge, or discard this patch.
src/Eccube/Form/Type/Admin/TaxRuleType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
                 ],
77 77
             ]);
78 78
 
79
-        $builder->addEventListener(FormEvents::POST_SUBMIT, function (FormEvent $event) {
79
+        $builder->addEventListener(FormEvents::POST_SUBMIT, function(FormEvent $event) {
80 80
             /** @var TaxRule $TaxRule */
81 81
             $TaxRule = $event->getData();
82 82
             $qb = $this->taxRuleRepository->createQueryBuilder('t');
Please login to merge, or discard this patch.
src/Eccube/Form/Type/Admin/DeliveryTimeType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     {
65 65
         $resolver->setDefaults([
66 66
             'data_class' => 'Eccube\Entity\DeliveryTime',
67
-            'query_builder' => function (EntityRepository $er) {
67
+            'query_builder' => function(EntityRepository $er) {
68 68
                 return $er
69 69
                     ->createQueryBuilder('dt')
70 70
                     ->orderBy('dt.sort_no', 'ASC');
Please login to merge, or discard this patch.
src/Eccube/Form/Type/Admin/ProductClassType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
                 'required' => false,
135 135
                 'placeholder' => 'productclass.placeholder.not_specified',
136 136
             ])
137
-            ->addEventListener(FormEvents::POST_SUBMIT, function ($event) {
137
+            ->addEventListener(FormEvents::POST_SUBMIT, function($event) {
138 138
                 $form = $event->getForm();
139 139
                 $data = $form->getData();
140 140
 
Please login to merge, or discard this patch.
src/Eccube/Form/Type/Install/Step4Type.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
                 'label' => trans('step4.label.pass'),
103 103
                 'required' => false,
104 104
             ])
105
-            ->addEventListener(FormEvents::POST_SUBMIT, function ($event) {
105
+            ->addEventListener(FormEvents::POST_SUBMIT, function($event) {
106 106
                 $form = $event->getForm();
107 107
                 $data = $form->getData();
108 108
 
Please login to merge, or discard this patch.
src/Eccube/Form/Type/Install/Step3Type.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
                 'label' => trans('step3.label.smtp_pass'),
150 150
                 'required' => false,
151 151
             ])
152
-            ->addEventListener(FormEvents::POST_SUBMIT, function ($event) {
152
+            ->addEventListener(FormEvents::POST_SUBMIT, function($event) {
153 153
                 $form = $event->getForm();
154 154
                 $data = $form->getData();
155 155
 
Please login to merge, or discard this patch.