Test Failed
Push — develop ( ddb817...815500 )
by nguereza
02:28
created
src/Demo/Action/User/CreateAction.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
                 $this->template,
80 80
                 'user/create',
81 81
                 [
82
-                   'param' => $formParam
82
+                    'param' => $formParam
83 83
                 ]
84 84
             );
85 85
         }
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
                 $this->template,
108 108
                 'user/create',
109 109
                 [
110
-                   'param' => $formParam
110
+                    'param' => $formParam
111 111
                 ]
112 112
             );
113 113
         }
Please login to merge, or discard this patch.
src/Demo/Action/User/EditAction.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
                 $this->template,
88 88
                 'user/edit',
89 89
                 [
90
-                   'param' => $formParam
90
+                    'param' => $formParam
91 91
                 ]
92 92
             );
93 93
         }
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
                 $this->template,
114 114
                 'user/edit',
115 115
                 [
116
-                   'param' => $formParam
116
+                    'param' => $formParam
117 117
                 ]
118 118
             );
119 119
         }
Please login to merge, or discard this patch.
src/Demo/Form/Validator/UserValidator.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -39,30 +39,30 @@
 block discarded – undo
39 39
     public function setRules(): void
40 40
     {
41 41
         $this->validator->addRules('username', [
42
-           new NotEmpty(),
43
-           new MinLength(3),
42
+            new NotEmpty(),
43
+            new MinLength(3),
44 44
             new AlphaDash()
45 45
         ]);
46 46
 
47 47
         $this->validator->addRules('lastname', [
48
-           new NotEmpty(),
49
-           new MinLength(3)
48
+            new NotEmpty(),
49
+            new MinLength(3)
50 50
         ]);
51 51
 
52 52
         $this->validator->addRules('firstname', [
53
-           new NotEmpty(),
54
-           new MinLength(3)
53
+            new NotEmpty(),
54
+            new MinLength(3)
55 55
         ]);
56 56
 
57 57
         $this->validator->addRules('age', [
58
-           new NotEmpty(),
59
-           new Number(),
60
-           new Min(0),
61
-           new Max(100),
58
+            new NotEmpty(),
59
+            new Number(),
60
+            new Min(0),
61
+            new Max(100),
62 62
         ]);
63 63
 
64 64
         $this->validator->addRules('password', [
65
-           new MinLength(5),
65
+            new MinLength(5),
66 66
         ]);
67 67
     }
68 68
 }
Please login to merge, or discard this patch.