Test Failed
Push — master ( f47101...348e9e )
by Ricardo
02:03
created
src/Validate/Gender.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
     public static function toDatabase($gender)
25 25
     {
26
-        return substr(((string) self::filter(strtoupper(preg_replace('/[^A-z]/', '',$gender)))), 0, 1);
26
+        return substr(((string) self::filter(strtoupper(preg_replace('/[^A-z]/', '', $gender)))), 0, 1);
27 27
     }
28 28
 
29 29
     public static function filter($gender) {
@@ -38,11 +38,11 @@  discard block
 block discarded – undo
38 38
 
39 39
     public static function toUser($gender)
40 40
     {
41
-        if($gender == 'M') {
41
+        if ($gender == 'M') {
42 42
             return 'Masculino';
43 43
         }
44 44
         
45
-        if($gender == 'F') {
45
+        if ($gender == 'F') {
46 46
             return 'Feminino';
47 47
         }
48 48
         
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 
63 63
     public static function isSame(string $to, string $from)
64 64
     {
65
-        return (self::toDatabase($to)===self::toDatabase($from));
65
+        return (self::toDatabase($to) === self::toDatabase($from));
66 66
     }
67 67
 
68 68
 }
Please login to merge, or discard this patch.
src/Validate/CreditCard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 
33 33
     public static function isSame(string $to, string $from)
34 34
     {
35
-        return (self::toDatabase($to)===self::toDatabase($from));
35
+        return (self::toDatabase($to) === self::toDatabase($from));
36 36
     }
37 37
 
38 38
 }
Please login to merge, or discard this patch.
src/Validate/Cpf.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
     public static function isSame(string $to, string $from)
28 28
     {
29
-        return (self::toDatabase($to)===self::toDatabase($from));
29
+        return (self::toDatabase($to) === self::toDatabase($from));
30 30
     }
31 31
 
32 32
 }
Please login to merge, or discard this patch.