Completed
Branch master (5fd068)
by Laurent
16:18
created
src/Glsr/GestockBundle/Controller/GestockController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
             $subFamId = '';
50 50
             $famLogId = $request->get('id');
51 51
             $subFamId = $request->get('id2');
52
-            if ($famLogId  != '') {
52
+            if ($famLogId != '') {
53 53
                 $subFamilyLogs = $etm
54 54
                     ->getRepository('GlsrGestockBundle:subFamilyLog')
55 55
                     ->getFromFamilyLog($famLogId);
Please login to merge, or discard this patch.
src/Glsr/GestockBundle/Controller/ArticleController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
                 'glstock_art_show',
115 115
                 array('name' => $article->getName())
116 116
             );
117
-            $message = "L'article " . $article->getName() ." est bien ajouté";
117
+            $message = "L'article ".$article->getName()." est bien ajouté";
118 118
         } else {
119 119
             $url = $this->generateUrl('glstock_art_add');
120 120
             $message = "L'article ".$article->getName()." n'est pas ajouté !";
Please login to merge, or discard this patch.
src/Glsr/GestockBundle/DependencyInjection/Configuration.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
  * and merges configuration from your app/config files.
22 22
  *
23 23
  * @category   DependencyInjection
24
-
25 24
  * @link http://symfony.com/doc/current/cookbook/bundles/extension.html
26 25
  * #cookbook-bundles-extension-config-class
27 26
  */
Please login to merge, or discard this patch.
src/Glsr/GestockBundle/Form/ArticleReassignType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,14 +41,14 @@
 block discarded – undo
41 41
     {
42 42
         $builder->addEventListener(
43 43
             FormEvents::PRE_SET_DATA,
44
-            function (FormEvent $event) {
44
+            function(FormEvent $event) {
45 45
                 $form = $event->getForm();
46 46
                 $articles = $event->getData();
47 47
 
48 48
                 $formOptions = array(
49 49
                     'class' => 'GlsrGestockBundle:Supplier',
50 50
                     'query_builder' =>
51
-                    function (EntityRepository $er) use ($articles) {
51
+                    function(EntityRepository $er) use ($articles) {
52 52
                         return $er->getSupplierForReassign($articles[0]);
53 53
                     },
54 54
                     'multiple' => false,
Please login to merge, or discard this patch.