Passed
Push — master ( 3e4de2...3a2928 )
by Bruno
04:34
created
Formularium/Frontend/Bulma/Renderable/Renderable_file.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
                                     ['class' => "file-icon"],
54 54
                                     HTMLNode::factory(
55 55
                                         'i',
56
-                                        [ 'class' => "fas fa-upload" ]
56
+                                        ['class' => "fas fa-upload"]
57 57
                                     )
58 58
                                 ),
59 59
                                 HTMLNode::factory(
Please login to merge, or discard this patch.
Formularium/Frontend/Buefy/RenderableBuefyInputTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     {
28 28
         // add extra classes
29 29
         $previous->walk(
30
-            function ($e) use ($field) {
30
+            function($e) use ($field) {
31 31
                 if ($e instanceof HTMLNode) {
32 32
                     if ($e->getTag() === 'input') {
33 33
                         if (($e->getAttribute('type')[0] ?? '') === 'radio') {
Please login to merge, or discard this patch.
Formularium/Frontend/Buefy/Renderable/Renderable_file.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,12 +59,12 @@
 block discarded – undo
59 59
                                 [],
60 60
                                 HTMLNode::factory(
61 61
                                     'b-icon',
62
-                                    [ 'icon' => "upload", 'size' => "is-large" ]
62
+                                    ['icon' => "upload", 'size' => "is-large"]
63 63
                                 )
64 64
                             ),
65 65
                             HTMLNode::factory(
66 66
                                 'p',
67
-                                [ 'class' => 'formularium-label'],
67
+                                ['class' => 'formularium-label'],
68 68
                                 $renderable[Renderable::LABEL] ?? ''
69 69
                             )
70 70
                         ]
Please login to merge, or discard this patch.
Formularium/Frontend/Buefy/Renderable/Renderable_date.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     {
28 28
         // add extra classes
29 29
         $previous->walk(
30
-            function ($e) {
30
+            function($e) {
31 31
                 if ($e instanceof HTMLNode) {
32 32
                     if ($e->getTag() === 'input') {
33 33
                         $e->setTag('b-datepicker');
Please login to merge, or discard this patch.
Formularium/Frontend/Buefy/Renderable/Renderable_datetime.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     {
28 28
         // add extra classes
29 29
         $previous->walk(
30
-            function ($e) {
30
+            function($e) {
31 31
                 if ($e instanceof HTMLNode) {
32 32
                     if ($e->getTag() === 'input') {
33 33
                         $e->setTag('b-datetimepicker');
Please login to merge, or discard this patch.
Formularium/Frontend/Buefy/Renderable/Renderable_time.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     {
28 28
         // add extra classes
29 29
         $previous->walk(
30
-            function ($e) {
30
+            function($e) {
31 31
                 if ($e instanceof HTMLNode) {
32 32
                     if ($e->getTag() === 'input') {
33 33
                         $e->setTag('b-clockpicker');
Please login to merge, or discard this patch.
Formularium/Frontend/Buefy/RenderableBuefyTrait.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
         if (array_key_exists(Renderable::COMMENT, $renderable)) {
33 33
             $base->setAttribute('message', $renderable[Renderable::COMMENT]);
34 34
         }
35
-        $base->filter(function ($e) {
35
+        $base->filter(function($e) {
36 36
             if ($e instanceof HTMLNode) {
37 37
                 if ($e->getTag() === 'label') {
38 38
                     return false;
Please login to merge, or discard this patch.
Formularium/Metadata.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     public function toMarkdown(): string
40 40
     {
41 41
         $args = array_map(
42
-            function (MetadataParameter $a) {
42
+            function(MetadataParameter $a) {
43 43
                 return $a->toMarkdown();
44 44
             },
45 45
             $this->args
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     public function toGraphql(): string
64 64
     {
65 65
         $args = array_map(
66
-            function (MetadataParameter $a) {
66
+            function(MetadataParameter $a) {
67 67
                 return $a->toGraphql();
68 68
             },
69 69
             $this->args
Please login to merge, or discard this patch.
Formularium/Frontend/HTML/Element/Table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
                         'class' => 'formularium-table__td'
47 47
                     ],
48 48
                     array_map(
49
-                        function ($i) {
49
+                        function($i) {
50 50
                             return HTMLNode::factory('td', [], $i);
51 51
                         },
52 52
                         $data
Please login to merge, or discard this patch.