Completed
Pull Request — master (#31)
by Antonio
10:23
created
src/LoginCidadao/CoreBundle/Controller/DefaultController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
         $translator = $this->get('translator');
70 70
         $message    = $translator->trans('contact.form.sent');
71 71
         if ($form->isValid()) {
72
-            $email     = new SentEmail();
72
+            $email = new SentEmail();
73 73
             $email
74 74
                 ->setType('contact-mail')
75 75
                 ->setSubject('Fale conosco - '.$form->get('firstName')->getData())
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Controller/Dev/ShoutController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 
63 63
         $form = $this->createFormBuilder();
64 64
         foreach ($placeholders as $placeholder) {
65
-            $form->add('place_' . $placeholder->getId(), 'text',
65
+            $form->add('place_'.$placeholder->getId(), 'text',
66 66
                        array(
67 67
                 'label' => $placeholder->getName(),
68 68
                 'data' => $placeholder->getDefault()
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Form/Type/PlaceOfBirthType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     public function buildForm(FormBuilderInterface $builder, array $options)
30 30
     {
31 31
         $builder->addEventListener(FormEvents::PRE_SET_DATA,
32
-            function (FormEvent $event) {
32
+            function(FormEvent $event) {
33 33
             $form   = $event->getForm()->getParent();
34 34
             $person = $form->getData();
35 35
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             $form->add('city', new CitySelectorComboType($person->getState()));
40 40
         });
41 41
         $builder->addEventListener(FormEvents::PRE_SUBMIT,
42
-            function (FormEvent $event) {
42
+            function(FormEvent $event) {
43 43
             $data = $event->getData();
44 44
             $form = $event->getForm()->getParent();
45 45
 
Please login to merge, or discard this patch.
src/LoginCidadao/OpenIDBundle/Controller/ClientRegistrationController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
     }
179 179
 
180 180
     private function checkRegistrationAccessToken(Request $request,
181
-                                                  Client $client)
181
+                                                    Client $client)
182 182
     {
183 183
         $raw = $request->get('access_token',
184 184
             $request->headers->get('authorization'));
Please login to merge, or discard this patch.
src/LoginCidadao/OpenIDBundle/Tests/Controller/JsonWebKeyControllerTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
     }
25 25
 
26 26
     protected function assertJsonResponse($response, $statusCode = 200,
27
-                                          $checkValidJson = true,
28
-                                          $contentType = 'application/json')
27
+                                            $checkValidJson = true,
28
+                                            $contentType = 'application/json')
29 29
     {
30 30
         $this->assertEquals(
31 31
             $statusCode, $response->getStatusCode(), $response->getContent()
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Form/Type/PersonAddressFormType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     public function buildForm(FormBuilderInterface $builder, array $options)
30 30
     {
31 31
         $builder->addEventListener(FormEvents::PRE_SET_DATA,
32
-            function (FormEvent $event) {
32
+            function(FormEvent $event) {
33 33
             $form   = $event->getForm()->getParent();
34 34
             $person = $form->getData();
35 35
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             $form->add('city', new CitySelectorComboType($person->getState()));
40 40
         });
41 41
         $builder->addEventListener(FormEvents::PRE_SUBMIT,
42
-            function (FormEvent $event) {
42
+            function(FormEvent $event) {
43 43
             $data = $event->getData();
44 44
             $form = $event->getForm()->getParent();
45 45
 
Please login to merge, or discard this patch.
src/LoginCidadao/NotificationBundle/Entity/PersonNotificationOption.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 namespace LoginCidadao\OAuthBundle\Entity;
3 3
 
4 4
 use Doctrine\ORM\Mapping as ORM;
5
-use Symfony\Component\Validator\Constraints as Assert;
6 5
 use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
7 6
 
8 7
 /**
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Controller/SuggestionController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Guilherme Donato
4
- */
3
+     * @author Guilherme Donato
4
+     */
5 5
 
6 6
 namespace LoginCidadao\CoreBundle\Controller;
7 7
 
Please login to merge, or discard this patch.