Completed
Pull Request — dev (#24)
by
unknown
14:51
created
src/AppBundle/Form/UserType.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 
13 13
 /**
14 14
  * Class UserType.
15
-
16 15
  */
17 16
 class UserType extends AbstractType
18 17
 {
Please login to merge, or discard this patch.
src/AppBundle/Form/SurveyType.php 2 patches
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 
13 13
 /**
14 14
  * Class SurveyType.
15
-
16 15
  */
17 16
 class SurveyType extends AbstractType
18 17
 {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
                 'disabled' => true,
37 37
             ))
38 38
         ;
39
-        $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) {
39
+        $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) {
40 40
             $survey = $event->getData();
41 41
             $form = $event->getForm();
42 42
             if ($survey->getUser() === null) {
Please login to merge, or discard this patch.
tests/AppBundle/Controller/Api/SurveyControllerTest.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
             array(),
75 75
             array(),
76 76
             array('CONTENT_TYPE' => 'application/json',
77
-                  'HTTP_X-AUTH-TOKEN' => '1', ),
77
+                    'HTTP_X-AUTH-TOKEN' => '1', ),
78 78
             $content = '{"3":"yes"}'
79 79
         );
80 80
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
             array(),
75 75
             array(),
76 76
             array('CONTENT_TYPE' => 'application/json',
77
-                  'HTTP_X-AUTH-TOKEN' => '1', ),
77
+                  'HTTP_X-AUTH-TOKEN' => '1',),
78 78
             $content = '{"3":"yes"}'
79 79
         );
80 80
 
Please login to merge, or discard this patch.