Test Setup Failed
Push — main ( a76688...4968f9 )
by Osvaldo
01:47
created
src/Edad.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
     private function setEdad(int $edad): int
21 21
     {
22
-        if($edad > 14 && $edad < 100)
22
+        if ($edad > 14 && $edad < 100)
23 23
         {
24 24
             return $edad;
25 25
         }
Please login to merge, or discard this patch.
src/Sexo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
     private function setSexo(string $sexo): string
21 21
     {
22
-        if($sexo == 'Hombre' || $sexo == 'Mujer')
22
+        if ($sexo == 'Hombre' || $sexo == 'Mujer')
23 23
         {
24 24
             return $sexo;
25 25
         }
Please login to merge, or discard this patch.
src/RangoTiempoEnPuesto.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     private function setRangoTiempoEnPuesto(string $rangoTiempoEnPuesto): string
21 21
     {
22 22
         if(
23
-           $rangoTiempoEnPuesto == 'Menos de 6 meses' || 
23
+            $rangoTiempoEnPuesto == 'Menos de 6 meses' || 
24 24
            $rangoTiempoEnPuesto == 'Entre 6 meses y 1 año' ||
25 25
            $rangoTiempoEnPuesto == 'Entre 1 a 4 años' || 
26 26
            $rangoTiempoEnPuesto == 'Entre 5 a 9 años' ||
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
     private function setRangoTiempoEnPuesto(string $rangoTiempoEnPuesto): string
21 21
     {
22
-        if(
22
+        if (
23 23
            $rangoTiempoEnPuesto == 'Menos de 6 meses' || 
24 24
            $rangoTiempoEnPuesto == 'Entre 6 meses y 1 año' ||
25 25
            $rangoTiempoEnPuesto == 'Entre 1 a 4 años' || 
Please login to merge, or discard this patch.
src/IdDeTrabajador.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
     private function setIdDeTrabajador(string $idDeTrabajador): string
21 21
     {
22
-        if(strlen($idDeTrabajador) >= 1)
22
+        if (strlen($idDeTrabajador) >= 1)
23 23
         {
24 24
             return $idDeTrabajador;
25 25
         }
Please login to merge, or discard this patch.
src/TipoDePuesto.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
     private function setTipoDePuesto(string $tipoDePuesto): string
21 21
     {
22
-        if(
22
+        if (
23 23
             $tipoDePuesto == 'Operativo' || 
24 24
             $tipoDePuesto == 'Profesional o técnico' ||
25 25
             $tipoDePuesto == 'Supervisor' || 
Please login to merge, or discard this patch.
src/TrabajadorConId.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace src;
3 3
 
4
-use src\{Trabajador,IdDeTrabajador};
4
+use src\{Trabajador, IdDeTrabajador};
5 5
 
6 6
 class TrabajadorConId
7 7
 {
Please login to merge, or discard this patch.
src/RangoDeEdad.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -21,62 +21,62 @@
 block discarded – undo
21 21
     {
22 22
         $rango = '';
23 23
         
24
-        if($edad >= 15 && $edad <= 19)
24
+        if ($edad >= 15 && $edad <= 19)
25 25
         {
26 26
             $rango = "15-19";
27 27
         }
28 28
 
29
-        if($edad >= 20 && $edad <= 24)
29
+        if ($edad >= 20 && $edad <= 24)
30 30
         {
31 31
             $rango = "20-24";
32 32
         }
33 33
 
34
-        if($edad >= 25 && $edad <= 29)
34
+        if ($edad >= 25 && $edad <= 29)
35 35
         {
36 36
             $rango = "25-29";
37 37
         }
38 38
 
39
-        if($edad >= 30 && $edad <= 34)
39
+        if ($edad >= 30 && $edad <= 34)
40 40
         {
41 41
             $rango = "30-34";
42 42
         }
43 43
 
44
-        if($edad >= 35 && $edad <= 39)
44
+        if ($edad >= 35 && $edad <= 39)
45 45
         {
46 46
             $rango = "35-39";
47 47
         }
48 48
 
49
-        if($edad >= 40 && $edad <= 44)
49
+        if ($edad >= 40 && $edad <= 44)
50 50
         {
51 51
             $rango = "40-44";
52 52
         }
53 53
 
54
-        if($edad >= 45 && $edad <= 49)
54
+        if ($edad >= 45 && $edad <= 49)
55 55
         {
56 56
             $rango = "45-49";
57 57
         }
58 58
 
59
-        if($edad >= 50 && $edad <= 54)
59
+        if ($edad >= 50 && $edad <= 54)
60 60
         {
61 61
             $rango = "50-54";
62 62
         }
63 63
 
64
-        if($edad >= 55 && $edad <= 59)
64
+        if ($edad >= 55 && $edad <= 59)
65 65
         {
66 66
             $rango = "55-59";
67 67
         }
68 68
 
69
-        if($edad >= 60 && $edad <= 64)
69
+        if ($edad >= 60 && $edad <= 64)
70 70
         {
71 71
             $rango = "60-64";
72 72
         }
73 73
 
74
-        if($edad >= 65 && $edad <= 69)
74
+        if ($edad >= 65 && $edad <= 69)
75 75
         {
76 76
             $rango = "65-69";
77 77
         }
78 78
 
79
-        if($edad >= 70 && $edad <= 99)
79
+        if ($edad >= 70 && $edad <= 99)
80 80
         {
81 81
             $rango = "70-99";
82 82
         }
Please login to merge, or discard this patch.