Test Setup Failed
Branch master (d874c5)
by Lucas
18:59
created
src/LoginCidadao/StatsBundle/Entity/StatisticsRepository.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     }
27 27
 
28 28
     public function findIndexedStatsByIndexKeyDate($index, $keys = null,
29
-                                                   \DateTime $afterDate = null)
29
+                                                    \DateTime $afterDate = null)
30 30
     {
31 31
         $data = $this->findStatsByIndexKeyDate($index, $keys, $afterDate);
32 32
 
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     }
35 35
 
36 36
     public function findIndexedUniqueStatsByIndexKeyDate($index, $keys = null,
37
-                                                         \DateTime $afterDate = null)
37
+                                                            \DateTime $afterDate = null)
38 38
     {
39 39
         $query = $this->getFindStatsByIndexKeyDateQuery($index, $keys,
40 40
             $afterDate);
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     }
46 46
 
47 47
     public function findIndexedUniqueStatsByIndexKeyDays($index, $keys = null,
48
-                                                         $days = null)
48
+                                                            $days = null)
49 49
     {
50 50
         $query = $this->getFindStatsByIndexKeyDateQuery($index, $keys, null,
51 51
             $days);
Please login to merge, or discard this patch.
src/LoginCidadao/StatsBundle/Handler/StatsHandler.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     }
35 35
 
36 36
     public function getIndexedUniqueDate($index, $keys = null,
37
-                                         \DateTime $afterDate = null)
37
+                                            \DateTime $afterDate = null)
38 38
     {
39 39
         return $this->repo->findIndexedUniqueStatsByIndexKeyDate($index, $keys,
40 40
                 $afterDate);
Please login to merge, or discard this patch.
src/LoginCidadao/ValidationBundle/Validator/Constraints/CEP.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
     public function validatedBy()
17 17
     {
18
-        return get_class($this) . 'Validator';
18
+        return get_class($this).'Validator';
19 19
     }
20 20
 
21 21
 }
Please login to merge, or discard this patch.
src/LoginCidadao/ValidationBundle/Validator/Constraints/CEPValidator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     public function validate($value, Constraint $constraint)
37 37
     {
38
-        if (!isset($value) || $value  === null || !strlen(trim($value))) {
38
+        if (!isset($value) || $value === null || !strlen(trim($value))) {
39 39
             return;
40 40
         }
41 41
         if (!self::checkLength($value)) {
@@ -53,9 +53,9 @@  discard block
 block discarded – undo
53 53
         for ($i = 0; $i < $a; $i++) {
54 54
             if ($postal[$i] != '"') {
55 55
                 if (is_numeric($postal[$i])) {
56
-                    $exp .= '[0-'. $postal[$i].']{1}';
56
+                    $exp .= '[0-'.$postal[$i].']{1}';
57 57
                 } else if ($postal[$i] == ' ') {
58
-                    $exp .= "\\". $postal[$i];
58
+                    $exp .= "\\".$postal[$i];
59 59
                 } else {
60 60
                     $exp .= $postal[$i];
61 61
                 }
Please login to merge, or discard this patch.
src/LoginCidadao/ValidationBundle/Validator/Constraints/CPF.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
     public function validatedBy()
17 17
     {
18
-        return get_class($this) . 'Validator';
18
+        return get_class($this).'Validator';
19 19
     }
20 20
 
21 21
 }
Please login to merge, or discard this patch.
src/LoginCidadao/ValidationControlBundle/Handler/ValidationHandler.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@
 block discarded – undo
46 46
     }
47 47
 
48 48
     public function idCardValidate(ExecutionContextInterface $validator,
49
-                                   Constraint $constraint,
50
-                                   IdCardInterface $idCard)
49
+                                    Constraint $constraint,
50
+                                    IdCardInterface $idCard)
51 51
     {
52 52
         $event = new IdCardValidateEvent($validator, $constraint, $idCard);
53 53
         $this->dispatcher->dispatch(ValidationEvents::ID_CARD_VALIDATE, $event);
Please login to merge, or discard this patch.