Passed
Push — master ( bc0996...c35245 )
by Bruno
05:47
created
Formularium/Frontend/HTML/Framework.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,14 +11,14 @@
 block discarded – undo
11 11
 
12 12
     public function viewableCompose(\Formularium\Model $m, array $elements, string $previousCompose): string
13 13
     {
14
-        return join('', array_map(function ($e) {
14
+        return join('', array_map(function($e) {
15 15
             return $e->__toString();
16 16
         }, $elements));
17 17
     }
18 18
 
19 19
     public function editableCompose(\Formularium\Model $m, array $elements, string $previousCompose): string
20 20
     {
21
-        return join('', array_map(function ($e) {
21
+        return join('', array_map(function($e) {
22 22
             return $e->__toString();
23 23
         }, $elements));
24 24
     }
Please login to merge, or discard this patch.
util/makeKitchenSink.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     $fields = [];
31 31
     $datatypes = array_map(
32
-        function ($x) {
32
+        function($x) {
33 33
             return str_replace('Datatype_', '', str_replace('.php', '', $x));
34 34
         },
35 35
         array_diff(scandir(__DIR__ . '/../Formularium/Datatype/'), array('.', '..'))
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     // TODO: avoid abstract classes
38 38
     $datatypes = array_filter(
39 39
         $datatypes,
40
-        function ($t) {
40
+        function($t) {
41 41
             return ($t !== 'number');
42 42
         }
43 43
     );
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
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         if (array_key_exists('comment', $extensions)) {
32 32
             $base->setAttribute('message', $extensions['comment']);
33 33
         }
34
-        $base->filter(function ($e) {
34
+        $base->filter(function($e) {
35 35
             if ($e instanceof HTMLElement) {
36 36
                 if ($e->getTag() === 'label') {
37 37
                     return false;
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
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     {
27 27
         // add extra classes
28 28
         $previous->walk(
29
-            function ($e) {
29
+            function($e) {
30 30
                 if ($e instanceof HTMLElement) {
31 31
                     if ($e->getTag() === 'input') {
32 32
                         $e->setTag('b-input');
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 HTMLElement) {
32 32
                     if ($e->getTag() === 'input') {
33 33
                         $e->setTag('b-datepicker');
Please login to merge, or discard this patch.
Formularium/Frontend/React/RenderableReactTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 
15 15
     public function editable($value, Field $field, HTMLElement $previous): HTMLElement
16 16
     {
17
-        $previous->walk(function (HTMLElement $element) use ($field) {
17
+        $previous->walk(function(HTMLElement $element) use ($field) {
18 18
             if ($element->getTag() === 'input') {
19 19
                 if ($element->getAttribute('type') === ['checkbox']) {
20 20
                     $element->setAttribute('checked', "{this.state.{$field->getName()}}");
Please login to merge, or discard this patch.