Completed
Push — Recipes ( 9276ac...c1a0bd )
by Laurent
20:27 queued 02:07
created
src/AppBundle/Form/Type/Settings/Diverse/MaterialType.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -39,17 +39,17 @@  discard block
 block discarded – undo
39 39
     public function buildForm(FormBuilderInterface $builder, array $options)
40 40
     {
41 41
         $builder
42
-            ->add('name', TextType::class, ['label' => 'gestock.name', 'attr'  => ['class' => 'half'],])
42
+            ->add('name', TextType::class, ['label' => 'gestock.name', 'attr'  => ['class' => 'half'], ])
43 43
             ->add('unitWorking', EntityType::class, ['class' => 'AppBundle:Settings\Diverse\Unit',
44 44
                 'choice_label' => 'name', 'multiple' => false, 'label' => 'gestock.settings.diverse.unitworking',
45
-                'attr'  => ['class' => 'half',],])
46
-            ->add('active', CheckboxType::class, ['required' => false, 'label' => 'gestock.actif',])
47
-            ->add('multiple', CheckboxType::class, ['required' => false, 'label' => 'gestock.multiple',])
45
+                'attr'  => ['class' => 'half', ], ])
46
+            ->add('active', CheckboxType::class, ['required' => false, 'label' => 'gestock.actif', ])
47
+            ->add('multiple', CheckboxType::class, ['required' => false, 'label' => 'gestock.multiple', ])
48 48
             ->add('articles', EntityType::class, ['class' => 'AppBundle:Settings\Article',
49
-                    'query_builder' => function (EntityRepository $er) {
49
+                    'query_builder' => function(EntityRepository $er) {
50 50
                         return $er->createQueryBuilder('a')->orderBy('a.name', 'ASC');
51 51
                     }, 'choice_label' => 'name', 'multiple' => true, 'expanded' => true, 'label' => 'title',
52
-                        'translation_domain' => 'gs_articles',])
52
+                        'translation_domain' => 'gs_articles', ])
53 53
             ->addEventSubscriber(new AddSaveEditFieldSubscriber())
54 54
         ;
55 55
     }
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     public function configureOptions(OptionsResolver $resolver)
61 61
     {
62 62
         $resolver->setDefaults(
63
-            ['data_class' => 'AppBundle\Entity\Settings\Diverse\Material',]
63
+            ['data_class' => 'AppBundle\Entity\Settings\Diverse\Material', ]
64 64
         );
65 65
     }
66 66
 
Please login to merge, or discard this patch.
src/AppBundle/Controller/AbstractController.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
             $paginator = $this->get('knp_paginator')->paginate($entities, $request->query->get('page', 1), $item);
49 49
         }
50 50
 
51
-        return ['entities'  => $entities, 'ctEntity' => count($entities), 'paginator' => $paginator,];
51
+        return ['entities'  => $entities, 'ctEntity' => count($entities), 'paginator' => $paginator, ];
52 52
     }
53 53
 
54 54
     /**
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     {
63 63
         $deleteForm = $this->createDeleteForm($entity->getId(), $prefixRoute.'_delete');
64 64
 
65
-        return [$prefixRoute => $entity, 'delete_form' => $deleteForm->createView(),];
65
+        return [$prefixRoute => $entity, 'delete_form' => $deleteForm->createView(), ];
66 66
     }
67 67
 
68 68
     /**
@@ -85,12 +85,12 @@  discard block
 block discarded – undo
85 85
             $this->addFlash('danger', 'gestock.settings.'.$prefixRoute.'.add2');
86 86
         } else {
87 87
             $entityNew = $etm->getClassMetadata($entityPath)->newInstance();
88
-            $form = $this->createForm($typePath, $entityNew, ['action' => $this->generateUrl($prefixRoute.'_create'),]);
88
+            $form = $this->createForm($typePath, $entityNew, ['action' => $this->generateUrl($prefixRoute.'_create'), ]);
89 89
 
90 90
             if ($entityName === 'Staff\Group') {
91 91
                 $this->addRolesAction($form, $entityNew);
92 92
             }
93
-            $return = [strtolower($entityName) => $entityNew, 'form'   => $form->createView(),];
93
+            $return = [strtolower($entityName) => $entityNew, 'form'   => $form->createView(), ];
94 94
         }
95 95
 
96 96
         return $return;
@@ -110,12 +110,12 @@  discard block
 block discarded – undo
110 110
     {
111 111
         $etm = $this->getDoctrine()->getManager();
112 112
         $entityNew = $etm->getClassMetadata($entityPath)->newInstance();
113
-        $form = $this->createForm($typePath, $entityNew, ['action' => $this->generateUrl($prefixRoute.'_create'),]);
113
+        $form = $this->createForm($typePath, $entityNew, ['action' => $this->generateUrl($prefixRoute.'_create'), ]);
114 114
         if ($entityName === 'Staff\Group') {
115 115
             $this->addRolesAction($form, $entityNew);
116 116
         }
117 117
         $form->handleRequest($request);
118
-        $return = [$entityName => $entityNew, 'form' => $form->createView(),];
118
+        $return = [$entityName => $entityNew, 'form' => $form->createView(), ];
119 119
 
120 120
         if ($form->isValid()) {
121 121
             $etm = $this->getDoctrine()->getManager();
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
         $deleteForm = $this->createDeleteForm($entity->getId(), $prefixRoute.'_delete');
156 156
 
157 157
         return [$prefixRoute => $entity, 'edit_form' => $editForm->createView(),
158
-            'delete_form' => $deleteForm->createView(),];
158
+            'delete_form' => $deleteForm->createView(), ];
159 159
     }
160 160
 
161 161
     /**
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
         $deleteForm = $this->createDeleteForm($entity->getId(), $prefixRoute.'_delete');
182 182
 
183 183
         $return = [$prefixRoute => $entity, 'edit_form' => $editForm->createView(),
184
-            'delete_form' => $deleteForm->createView(),];
184
+            'delete_form' => $deleteForm->createView(), ];
185 185
 
186 186
         if ($editForm->isValid()) {
187 187
             $this->getDoctrine()->getManager()->flush();
@@ -223,9 +223,9 @@  discard block
 block discarded – undo
223 223
     public function abstractDeleteWithArticlesAction($entity, Request $request, $entityName, $prefixRoute)
224 224
     {
225 225
         $etm = $this->getDoctrine()->getManager();
226
-        $form = $this->createDeleteForm($entity->getId(), $prefixRoute . '_delete');
226
+        $form = $this->createDeleteForm($entity->getId(), $prefixRoute.'_delete');
227 227
         $entityArticles = $etm
228
-            ->getRepository('AppBundle:' .  $entityName . 'Articles')
228
+            ->getRepository('AppBundle:'.$entityName.'Articles')
229 229
             ->findBy([$prefixRoute => $entity->getId()]);
230 230
 
231 231
         if ($form->handleRequest($request)->isValid()) {
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
             } else {
261 261
                 $alias = current($qbd->getDQLPart('from'))->getAlias();
262 262
             }
263
-            $qbd->orderBy($alias . '.' . $order['field'], $order['type']);
263
+            $qbd->orderBy($alias.'.'.$order['field'], $order['type']);
264 264
         }
265 265
     }
266 266
 
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
      */
291 291
     protected function testReturnParam($entity, $prefixRoute)
292 292
     {
293
-        $entityArray = ['article', 'supplier', 'familylog', 'zonestorage', 'unit', 'material',];
293
+        $entityArray = ['article', 'supplier', 'familylog', 'zonestorage', 'unit', 'material', ];
294 294
         if (in_array($prefixRoute, $entityArray, true)) {
295 295
             $param = ['slug' => $entity->getSlug()];
296 296
         } else {
Please login to merge, or discard this patch.
src/AppBundle/Form/Type/Settings/SettingsType.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -36,15 +36,15 @@
 block discarded – undo
36 36
     {
37 37
         $builder
38 38
             ->add('inventory_style', ChoiceType::class, ['choices' => ['gestock.settings.settings.global' => 'global',
39
-                'gestock.settings.settings.zone_storage' => 'zonestorage',], 'choices_as_values' => true,
39
+                'gestock.settings.settings.zone_storage' => 'zonestorage', ], 'choices_as_values' => true,
40 40
                 'expanded' => true, 'multiple' => false,
41
-                'label' => 'gestock.settings.settings.style_inventory',])
41
+                'label' => 'gestock.settings.settings.style_inventory', ])
42 42
             ->add('calculation', ChoiceType::class, ['choices' => ['gestock.settings.settings.fifo' => 'fifo',
43
-                'gestock.settings.settings.weighted' => 'weighted',], 'choices_as_values' => true,
43
+                'gestock.settings.settings.weighted' => 'weighted', ], 'choices_as_values' => true,
44 44
                 'expanded' => true, 'multiple' => false,
45
-                'label' => 'gestock.settings.settings.calculation',])
45
+                'label' => 'gestock.settings.settings.calculation', ])
46 46
             ->add('currency', CurrencyType::class, ['multiple' => false, 'expanded' => false,
47
-                'preferred_choices' => ['EUR'], 'label' => 'gestock.settings.settings.currency',])
47
+                'preferred_choices' => ['EUR'], 'label' => 'gestock.settings.settings.currency', ])
48 48
             ->addEventSubscriber(new AddSaveEditFieldSubscriber())
49 49
         ;
50 50
     }
Please login to merge, or discard this patch.
src/AppBundle/Form/Type/Staff/GroupType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     public function buildForm(FormBuilderInterface $builder, array $options)
33 33
     {
34 34
         $builder
35
-            ->add('name', null, ['label' => 'form.group_name', 'translation_domain' => 'FOSUserBundle',])
35
+            ->add('name', null, ['label' => 'form.group_name', 'translation_domain' => 'FOSUserBundle', ])
36 36
             ->addEventSubscriber(new AddSaveEditFieldSubscriber())
37 37
         ;
38 38
     }
Please login to merge, or discard this patch.
src/AppBundle/Controller/DefaultController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,10 +38,10 @@
 block discarded – undo
38 38
         $this->entities = array(
39 39
             ['1', 'AppBundle:Staff\Group'],
40 40
             ['2', 'AppBundle:Staff\User'],
41
-            ['3','AppBundle:Settings\Company'],
41
+            ['3', 'AppBundle:Settings\Company'],
42 42
             ['4', 'AppBundle:Settings\Settings'],
43 43
             ['5_1', 'AppBundle:Settings\Diverse\FamilyLog'],
44
-            ['5_2','AppBundle:Settings\Diverse\ZoneStorage'],
44
+            ['5_2', 'AppBundle:Settings\Diverse\ZoneStorage'],
45 45
             ['5_3', 'AppBundle:Settings\Diverse\Unit'],
46 46
             ['5_4', 'AppBundle:Settings\Diverse\Tva'],
47 47
             ['6', 'AppBundle:Settings\Supplier'],
Please login to merge, or discard this patch.
src/AppBundle/DataFixtures/ORM/LoadGroupData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 {
29 29
     private $datas = [
30 30
         ['admin', 'ROLE_SUPER_ADMIN'],
31
-        ['assistant','ROLE_ADMIN'],
31
+        ['assistant', 'ROLE_ADMIN'],
32 32
         ['user', 'ROLE_USER']
33 33
     ];
34 34
 
Please login to merge, or discard this patch.
src/AppBundle/Form/Type/Settings/SupplierType.php 1 patch
Spacing   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -41,47 +41,47 @@  discard block
 block discarded – undo
41 41
     public function buildForm(FormBuilderInterface $builder, array $options)
42 42
     {
43 43
         $builder
44
-            ->add('name', TextType::class, ['label' => 'gestock.name', 'attr'  => ['class' => 'form-control',],])
44
+            ->add('name', TextType::class, ['label' => 'gestock.name', 'attr'  => ['class' => 'form-control', ], ])
45 45
             ->add('address', TextType::class, ['label' => 'gestock.address',
46
-                'attr'  => ['placeholder' => 'gestock.address', 'class' => 'form-control',],])
46
+                'attr'  => ['placeholder' => 'gestock.address', 'class' => 'form-control', ], ])
47 47
             ->add('zipcode', TextType::class, ['attr' => ['placeholder' => 'gestock.zipcode',
48
-                'class' => 'form-control half',],])
48
+                'class' => 'form-control half', ], ])
49 49
             ->add('town', TextType::class, ['attr'  => ['placeholder' => 'gestock.town',
50
-                'class' => 'form-control half',],])
50
+                'class' => 'form-control half', ], ])
51 51
             ->add('phone', PhoneNumberType::class, ['default_region' => 'FR', 'format' => PhoneNumberFormat::NATIONAL,
52
-                    'widget' => PhoneNumberType::WIDGET_COUNTRY_CHOICE, 'country_choices' => ['FR', 'GB', 'DE', 'IT',],
53
-                    'preferred_country_choices' => ['FR',], 'label' => 'gestock.phone',])
52
+                    'widget' => PhoneNumberType::WIDGET_COUNTRY_CHOICE, 'country_choices' => ['FR', 'GB', 'DE', 'IT', ],
53
+                    'preferred_country_choices' => ['FR', ], 'label' => 'gestock.phone', ])
54 54
             ->add('fax', PhoneNumberType::class, ['default_region' => 'FR', 'format' => PhoneNumberFormat::NATIONAL,
55
-                    'widget' => PhoneNumberType::WIDGET_COUNTRY_CHOICE, 'country_choices' => ['FR', 'GB', 'DE', 'IT',],
56
-                    'preferred_country_choices' => ['FR',], 'label' => 'gestock.fax',])
57
-            ->add('mail', EmailType::class, ['label' => 'gestock.mail', 'attr'  => ['class' => 'form-control',]])
58
-            ->add('contact', TextType::class, ['label' => 'gestock.contact', 'attr'  => ['class' => 'form-control',],])
55
+                    'widget' => PhoneNumberType::WIDGET_COUNTRY_CHOICE, 'country_choices' => ['FR', 'GB', 'DE', 'IT', ],
56
+                    'preferred_country_choices' => ['FR', ], 'label' => 'gestock.fax', ])
57
+            ->add('mail', EmailType::class, ['label' => 'gestock.mail', 'attr'  => ['class' => 'form-control', ]])
58
+            ->add('contact', TextType::class, ['label' => 'gestock.contact', 'attr'  => ['class' => 'form-control', ], ])
59 59
             ->add('gsm', PhoneNumberType::class, ['default_region' => 'FR', 'format' => PhoneNumberFormat::NATIONAL,
60
-                    'widget' => PhoneNumberType::WIDGET_COUNTRY_CHOICE, 'country_choices' => ['FR', 'GB', 'DE', 'IT',],
61
-                    'preferred_country_choices' => ['FR',], 'label' => 'gestock.gsm',])
60
+                    'widget' => PhoneNumberType::WIDGET_COUNTRY_CHOICE, 'country_choices' => ['FR', 'GB', 'DE', 'IT', ],
61
+                    'preferred_country_choices' => ['FR', ], 'label' => 'gestock.gsm', ])
62 62
             /**
63 63
              * Délai de livraison A = jour de Cmde,
64 64
              * (B, C, D, E) = jour de livraison
65 65
              */
66 66
             ->add('delaydeliv', ChoiceType::class, ['choices' => ['form.atob' => 1, 'form.atoc' => 2,
67
-                'form.atod' => 3, 'form.atoe' => 4,], 'choices_as_values' => true, 'label' => 'settings.delay',
68
-                    'translation_domain' => 'gs_suppliers', 'attr'  => ['class' => 'form-control half',]])
67
+                'form.atod' => 3, 'form.atoe' => 4, ], 'choices_as_values' => true, 'label' => 'settings.delay',
68
+                    'translation_domain' => 'gs_suppliers', 'attr'  => ['class' => 'form-control half', ]])
69 69
             /**
70 70
              * Choix du jour de la semaine pour les Cmdes
71 71
              * Numérotation voir http://php.net/manual/fr/function.date.php format 'N'
72 72
              */
73 73
             ->add('orderdate', ChoiceType::class, ['choices' => ['Monday' => 1, 'Tuesday' => 2, 'Wednesday' => 3,
74
-                'Thursday' => 4, 'Friday' => 5, 'Saturday' => 6, 'Sunday' => 7,], 'choices_as_values' => true,
74
+                'Thursday' => 4, 'Friday' => 5, 'Saturday' => 6, 'Sunday' => 7, ], 'choices_as_values' => true,
75 75
                 'choice_translation_domain' => true, 'translation_domain' => 'messages', 'label' => 'day_order',
76
-                'attr'  => ['class' => 'form-control',], 'expanded' => true, 'multiple' => true,])
76
+                'attr'  => ['class' => 'form-control', ], 'expanded' => true, 'multiple' => true, ])
77 77
             ->add('familyLog', EntityType::class, ['class' => 'AppBundle:Settings\Diverse\FamilyLog',
78
-                    'query_builder' => function (EntityRepository $er) {
78
+                    'query_builder' => function(EntityRepository $er) {
79 79
                         return $er->createQueryBuilder('f')
80 80
                             ->orderBy('f.path', 'ASC');
81 81
                     }, 'choice_label' => 'indentedName', 'multiple' => false,
82 82
                     'placeholder' => 'gestock.settings.diverse.choice_family', 'empty_data' => null,
83
-                    'label' => 'gestock.settings.diverse.familylog', 'attr'  => ['class' => 'form-control half',]])
84
-            ->add('active', HiddenType::class, ['data' => true,])
83
+                    'label' => 'gestock.settings.diverse.familylog', 'attr'  => ['class' => 'form-control half', ]])
84
+            ->add('active', HiddenType::class, ['data' => true, ])
85 85
             ->addEventSubscriber(new AddSaveEditFieldSubscriber())
86 86
         ;
87 87
     }
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      */
92 92
     public function configureOptions(OptionsResolver $resolver)
93 93
     {
94
-        $resolver->setDefaults(['data_class' => 'AppBundle\Entity\Settings\Supplier',]);
94
+        $resolver->setDefaults(['data_class' => 'AppBundle\Entity\Settings\Supplier', ]);
95 95
     }
96 96
 
97 97
     /**
Please login to merge, or discard this patch.
src/AppBundle/Form/Type/Settings/CompanyType.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -37,25 +37,25 @@
 block discarded – undo
37 37
     public function buildForm(FormBuilderInterface $builder, array $options)
38 38
     {
39 39
         $builder
40
-            ->add('name', TextType::class, ['label' => 'gestock.settings.company.name',])
41
-            ->add('status', TextType::class, ['label' => 'gestock.settings.company.status',])
42
-            ->add('address', TextType::class, ['label' => 'gestock.address',])
43
-            ->add('zipcode', TextType::class, ['label' => 'gestock.zipcode',])
40
+            ->add('name', TextType::class, ['label' => 'gestock.settings.company.name', ])
41
+            ->add('status', TextType::class, ['label' => 'gestock.settings.company.status', ])
42
+            ->add('address', TextType::class, ['label' => 'gestock.address', ])
43
+            ->add('zipcode', TextType::class, ['label' => 'gestock.zipcode', ])
44 44
             ->add('town', TextType::class, ['label' => 'gestock.town', 'attr' => [
45 45
                 'onBlur' => 'this.value=this.value.toUpperCase();',
46 46
                 'onFocus' => 'this.value=this.value.toUpperCase();',
47
-                'onKeyup' => 'this.value=this.value.toUpperCase();',]])
47
+                'onKeyup' => 'this.value=this.value.toUpperCase();', ]])
48 48
             ->add('phone', PhoneNumberType::class, ['default_region' => 'FR', 'format' => PhoneNumberFormat::NATIONAL,
49
-                    'widget' => PhoneNumberType::WIDGET_COUNTRY_CHOICE, 'country_choices' => ['FR', 'GB', 'DE', 'IT',],
50
-                    'preferred_country_choices' => ['FR',], 'label' => 'gestock.phone',])
49
+                    'widget' => PhoneNumberType::WIDGET_COUNTRY_CHOICE, 'country_choices' => ['FR', 'GB', 'DE', 'IT', ],
50
+                    'preferred_country_choices' => ['FR', ], 'label' => 'gestock.phone', ])
51 51
             ->add('fax', PhoneNumberType::class, ['default_region' => 'FR', 'format' => PhoneNumberFormat::NATIONAL,
52
-                    'widget' => PhoneNumberType::WIDGET_COUNTRY_CHOICE, 'country_choices' => ['FR', 'GB', 'DE', 'IT',],
53
-                    'preferred_country_choices' => ['FR',], 'label' => 'gestock.fax',])
54
-            ->add('mail', EmailType::class, ['trim' => true, 'label' => 'gestock.mail',])
55
-            ->add('contact', TextType::class, ['label' => 'gestock.contact',])
52
+                    'widget' => PhoneNumberType::WIDGET_COUNTRY_CHOICE, 'country_choices' => ['FR', 'GB', 'DE', 'IT', ],
53
+                    'preferred_country_choices' => ['FR', ], 'label' => 'gestock.fax', ])
54
+            ->add('mail', EmailType::class, ['trim' => true, 'label' => 'gestock.mail', ])
55
+            ->add('contact', TextType::class, ['label' => 'gestock.contact', ])
56 56
             ->add('gsm', PhoneNumberType::class, ['default_region' => 'FR', 'format' => PhoneNumberFormat::NATIONAL,
57
-                    'widget' => PhoneNumberType::WIDGET_COUNTRY_CHOICE, 'country_choices' => ['FR', 'GB', 'DE', 'IT',],
58
-                    'preferred_country_choices' => ['FR',], 'label' => 'gestock.gsm',])
57
+                    'widget' => PhoneNumberType::WIDGET_COUNTRY_CHOICE, 'country_choices' => ['FR', 'GB', 'DE', 'IT', ],
58
+                    'preferred_country_choices' => ['FR', ], 'label' => 'gestock.gsm', ])
59 59
             ->addEventSubscriber(new AddSaveEditFieldSubscriber())
60 60
         ;
61 61
     }
Please login to merge, or discard this patch.
src/AppBundle/Form/Type/Orders/OrdersEditType.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
                 EntityType::class,
43 43
                 array(
44 44
                     'class' => 'AppBundle:Settings\Supplier',
45
-                    'query_builder' => function (EntityRepository $er) {
45
+                    'query_builder' => function(EntityRepository $er) {
46 46
                         return $er->createQueryBuilder('s')
47 47
                             ->where('s.active = 1');
48 48
                     },
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                     'label' => 'title',
54 54
                     'translation_domain' => 'gs_suppliers',
55 55
                     'empty_data' => null,
56
-                    'attr'  => ['class' => 'form-control', 'readonly' => true,],
56
+                    'attr'  => ['class' => 'form-control', 'readonly' => true, ],
57 57
                 )
58 58
             )
59 59
             ->add(
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
                     'format' => 'EEEE dd MMMM yyyy',
68 68
                     'html5' => false,
69 69
                     'input' => 'datetime',
70
-                    'attr'  => ['class' => 'form-control', 'readonly' => true,],
70
+                    'attr'  => ['class' => 'form-control', 'readonly' => true, ],
71 71
                 )
72 72
             )
73 73
             ->add(
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
                     'format' => 'EEEE dd MMMM yyyy',
82 82
                     'html5' => false,
83 83
                     'input' => 'datetime',
84
-                    'attr'  => ['class' => 'form-control', 'readonly' => true,],
84
+                    'attr'  => ['class' => 'form-control', 'readonly' => true, ],
85 85
                 )
86 86
             )
87 87
             ->add(
Please login to merge, or discard this patch.