Completed
Push — Recipes ( 630f49...c8afb0 )
by Laurent
12:15 queued 03:48
created
src/Form/Type/Staff/UserType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 {
34 34
     public function buildForm(FormBuilderInterface $builder, array $options)
35 35
     {
36
-        $builder ->add('username', null, ['label' => "Nom d'utilisateur", 'attr'  => ['class' => 'form-control'],])
36
+        $builder ->add('username', null, ['label' => "Nom d'utilisateur", 'attr'  => ['class' => 'form-control'], ])
37 37
             ->add('email', EmailType::class, array(
38 38
                 'required' => false,
39 39
                 'label' => 'E-mail',
Please login to merge, or discard this patch.
src/Form/Type/Stocks/InventoryArticlesZonesType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
     public function configureOptions(OptionsResolver $resolver)
37 37
     {
38
-        $resolver->setDefaults(['data_class' => 'App\Entity\Stocks\InventoryArticles',]);
38
+        $resolver->setDefaults(['data_class' => 'App\Entity\Stocks\InventoryArticles', ]);
39 39
     }
40 40
 
41 41
     public function getBlockPrefix()
Please login to merge, or discard this patch.
src/Form/Type/Stocks/InventoryEditType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,10 +33,10 @@
 block discarded – undo
33 33
     {
34 34
         $builder
35 35
             ->remove('status')
36
-            ->add('articles', CollectionType::class, ['entry_type' => InventoryArticlesType::class,])
36
+            ->add('articles', CollectionType::class, ['entry_type' => InventoryArticlesType::class, ])
37 37
             ->add('amount', MoneyType::class, ['scale' => 3, 'grouping' => true, 'currency' => 'EUR',
38 38
                 'label' => 'seizure.totals', 'translation_domain' => 'gs_inventories',
39
-                'attr'=> ['class' => 'inventory form-control', 'readonly' => true,],]);
39
+                'attr'=> ['class' => 'inventory form-control', 'readonly' => true, ], ]);
40 40
     }
41 41
 
42 42
     public function configureOptions(OptionsResolver $resolver)
Please login to merge, or discard this patch.
src/Form/Type/Stocks/InventoryArticlesType.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -34,28 +34,28 @@
 block discarded – undo
34 34
         $builder
35 35
             ->add('inventory', EntityType::class, ['class' => 'App:Stocks\Inventory', 'choice_label' => 'id',
36 36
                 'label' => 'gestock.id', 'translation_domain' => 'messages', 'empty_data' => null,
37
-                'attr'=> ['class' => 'form-control', 'readonly' => true,],])
37
+                'attr'=> ['class' => 'form-control', 'readonly' => true, ], ])
38 38
             ->add('article', EntityType::class, ['class' => 'App:Settings\Article', 'choice_label' => 'name',
39 39
                 'label' => 'title', 'translation_domain' => 'gs_articles', 'empty_data' => null,
40
-                'attr'=> ['class' => 'form-control', 'readonly' => true,],])
40
+                'attr'=> ['class' => 'form-control', 'readonly' => true, ], ])
41 41
             ->add('quantity', NumberType::class, ['scale' => 3, 'grouping' => true, 'empty_data' => '0,000',
42 42
                     'label' => 'settings.quantity', 'translation_domain' => 'gs_articles',
43
-                    'attr'=> ['class' => 'inventory form-control', 'readonly' => true,],])
43
+                    'attr'=> ['class' => 'inventory form-control', 'readonly' => true, ], ])
44 44
             ->add('realstock', NumberType::class, ['scale' => 3, 'grouping' => true, 'empty_data' => '0,000',
45 45
                     'label' => 'seizure.realstock', 'translation_domain' => 'gs_inventories',
46
-                    'attr'=> ['class' => 'inventory form-control',],])
46
+                    'attr'=> ['class' => 'inventory form-control', ], ])
47 47
             ->add('unitStorage', EntityType::class, ['class' => 'App:Settings\Diverse\Unit',
48 48
                     'choice_label' => 'abbr', 'label' => 'gestock.settings.diverse.unitstorage', 'empty_data' => null,
49
-                    'attr'=> ['class' => 'form-control', 'readonly' => true,],])
49
+                    'attr'=> ['class' => 'form-control', 'readonly' => true, ], ])
50 50
             ->add('price', MoneyType::class, ['scale' => 3, 'grouping' => true, 'currency' => 'EUR',
51 51
                     'label' => 'settings.price', 'translation_domain' => 'gs_articles',
52
-                    'attr'=> ['class' => 'inventory form-control', 'readonly' => true,],])
52
+                    'attr'=> ['class' => 'inventory form-control', 'readonly' => true, ], ])
53 53
             ->add('total', MoneyType::class, ['scale' => 3, 'grouping' => true, 'currency' => 'EUR',
54 54
                     'label' => 'seizure.total', 'translation_domain' => 'gs_inventories', 'mapped' => false,
55
-                    'attr'=> ['class' => 'inventory form-control', 'readonly' => true,],])
55
+                    'attr'=> ['class' => 'inventory form-control', 'readonly' => true, ], ])
56 56
             ->add('gap', NumberType::class, ['scale' => 3, 'grouping' => true, 'label' => 'seizure.gap',
57 57
                     'translation_domain' => 'gs_inventories', 'mapped' => false,
58
-                    'attr'=> ['class' => 'inventory form-control', 'readonly' =>true,],]);
58
+                    'attr'=> ['class' => 'inventory form-control', 'readonly' =>true, ], ]);
59 59
     }
60 60
 
61 61
     public function configureOptions(OptionsResolver $resolver)
Please login to merge, or discard this patch.
src/Form/Type/Stocks/InventoryType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         $builder
34 34
             ->add('date', DateType::class, ['label' => 'gestock.date', 'widget' => 'single_text',
35 35
                 'format' => 'dd MMM yyyy', 'html5' => false, 'input' => 'datetime',
36
-                'attr'  => ['class' => 'form-control',],])
36
+                'attr'  => ['class' => 'form-control', ], ])
37 37
             ->add('status', HiddenType::class)
38 38
             ->add('amount', HiddenType::class)
39 39
         ;
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 
42 42
     public function configureOptions(OptionsResolver $resolver)
43 43
     {
44
-        $resolver->setDefaults(['data_class' => 'App\Entity\Stocks\Inventory',]);
44
+        $resolver->setDefaults(['data_class' => 'App\Entity\Stocks\Inventory', ]);
45 45
     }
46 46
 
47 47
     public function getBlockPrefix()
Please login to merge, or discard this patch.
src/Form/Type/Stocks/InventoryEditZonesType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         parent::buildForm($builder, $options);
35 35
         $builder
36 36
             ->remove('articles')
37
-            ->add('articles', CollectionType::class, ['entry_type' => InventoryArticlesZonesType::class,]);
37
+            ->add('articles', CollectionType::class, ['entry_type' => InventoryArticlesZonesType::class, ]);
38 38
     }
39 39
 
40 40
     public function configureOptions(OptionsResolver $resolver)
Please login to merge, or discard this patch.