Test Setup Failed
Push — master ( 3080fc...20bf7d )
by Bruno
12:09 queued 04:50
created
Formularium/Datatype.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
             $this->getDocumentation() .
134 134
                 "\n\nRandom value example: " . var_export($this->getRandom(), true) .
135 135
                 "\n\nSQL datatype: `" . $this->getSQLType() . "`" .
136
-                "\n\nLaravel SQL datatype: `" . $this->getLaravelSQLType('name')  . "`",
136
+                "\n\nLaravel SQL datatype: `" . $this->getLaravelSQLType('name') . "`",
137 137
             []
138 138
         );
139 139
     }
Please login to merge, or discard this patch.
Formularium/Frontend/Bootstrap/RenderableBootstrapWrapperTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,17 +64,17 @@
 block discarded – undo
64 64
             $iconData[] = $icon;
65 65
             $group = HTMLNode::factory(
66 66
                 'div',
67
-                [ 'class' => "input-group mb-3" ],
67
+                ['class' => "input-group mb-3"],
68 68
                 [
69 69
                     HTMLNode::factory(
70 70
                         'div',
71
-                        [ 'class' => "input-group-prepend" ],
71
+                        ['class' => "input-group-prepend"],
72 72
                         HTMLNode::factory(
73 73
                             'span',
74
-                            [ 'class' => "input-group-text" ],
74
+                            ['class' => "input-group-text"],
75 75
                             HTMLNode::factory(
76 76
                                 'i',
77
-                                [ 'class' => $iconData ],
77
+                                ['class' => $iconData],
78 78
                                 []
79 79
                             )
80 80
                         )
Please login to merge, or discard this patch.
util/makeValidator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
 
7 7
 $shortopts = "v:p::t::";
8 8
 $longopts = array(
9
-    "validator:",     // Required value
9
+    "validator:", // Required value
10 10
     "namespace::",
11 11
     "path::",
12 12
     "test-path::"
@@ -19,8 +19,8 @@  discard block
 block discarded – undo
19 19
 
20 20
 $validator = $options['validator'];
21 21
 $namespace = $options['namespace'] ?? 'Formularium\\Validator';
22
-$path = $options['path'] ?? "Formularium/Validator/" ;
23
-$testpath = $options['testpath'] ?? "tests/Validator" ;
22
+$path = $options['path'] ?? "Formularium/Validator/";
23
+$testpath = $options['testpath'] ?? "tests/Validator";
24 24
 
25 25
 $code = ValidatorFactory::generate(
26 26
     $validator,
Please login to merge, or discard this patch.
Formularium/Frontend/HTMLValidation/Renderable.php 1 patch
Switch Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -28,17 +28,17 @@
 block discarded – undo
28 28
 
29 29
         foreach ($validators as $validator => $data) {
30 30
             switch ($validator) {
31
-            case MinLength::class:
32
-                $element->setAttribute('minlength', $field->getValidatorOption($validator, 'value', ''));
33
-                break;
34
-            case MaxLength::class:
35
-                $element->setAttribute('maxlength', $field->getValidatorOption($validator, 'value', ''));
36
-                break;
37
-            case Regex::class:
38
-                $element->setAttribute('pattern', $field->getValidatorOption($validator, 'value', ''));
39
-                break;
40
-            default:
41
-                break;
31
+                case MinLength::class:
32
+                    $element->setAttribute('minlength', $field->getValidatorOption($validator, 'value', ''));
33
+                    break;
34
+                case MaxLength::class:
35
+                    $element->setAttribute('maxlength', $field->getValidatorOption($validator, 'value', ''));
36
+                    break;
37
+                case Regex::class:
38
+                    $element->setAttribute('pattern', $field->getValidatorOption($validator, 'value', ''));
39
+                    break;
40
+                default:
41
+                    break;
42 42
             }
43 43
         }
44 44
 
Please login to merge, or discard this patch.