Completed
Pull Request — dev (#22)
by
unknown
03:24
created
src/AppBundle/Form/User/RegistrationType.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
     {
74 74
         $resolver->setDefaults(array(
75 75
             'data_class' => User::class,
76
-            'validation_groups' => array('registration','edit'),
76
+            'validation_groups' => array('registration', 'edit'),
77 77
         ));
78 78
     }
79 79
 }
Please login to merge, or discard this patch.
src/AppBundle/Form/User/EditType.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
     {
74 74
         $resolver->setDefaults(array(
75 75
             'data_class' => User::class,
76
-            'validation_groups' => array('registration','edit'),
76
+            'validation_groups' => array('registration', 'edit'),
77 77
         ));
78 78
     }
79 79
 }
Please login to merge, or discard this patch.
src/AppBundle/Form/User/ActivationType.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
     {
74 74
         $resolver->setDefaults(array(
75 75
             'data_class' => User::class,
76
-            'validation_groups' => array('registration','edit'),
76
+            'validation_groups' => array('registration', 'edit'),
77 77
         ));
78 78
     }
79 79
 }
Please login to merge, or discard this patch.
src/AppBundle/Repository/UserRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
                 ->orWhere(
40 40
                     $postsQuery->expr()->like('u.email', ':name')
41 41
                 )
42
-                ->setParameter('name', '%' . $name . '%');
42
+                ->setParameter('name', '%'.$name.'%');
43 43
         }
44 44
 
45 45
         return $postsQuery->getQuery();
Please login to merge, or discard this patch.