Passed
Push — master ( 26272a...f01326 )
by Sylvain
07:38
created
bin/clean-formatted-content.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -80,13 +80,13 @@
 block discarded – undo
80 80
 function cleanFormattedContent(): void
81 81
 {
82 82
     cleanOneTable('product', [
83
-        'description' => fn ($v) => cleanRichText($v),
84
-        'content' => fn ($v) => strip_tags($v),
83
+        'description' => fn($v) => cleanRichText($v),
84
+        'content' => fn($v) => strip_tags($v),
85 85
     ]);
86 86
 
87 87
     cleanOneTable('news', [
88
-        'description' => fn ($v) => strip_tags($v),
89
-        'content' => fn ($v) => cleanRichText($v),
88
+        'description' => fn($v) => strip_tags($v),
89
+        'content' => fn($v) => cleanRichText($v),
90 90
     ]);
91 91
 }
92 92
 
Please login to merge, or discard this patch.
tests/data/query/othermember-can-create-order.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 declare(strict_types=1);
4 4
 
5
- return [
5
+    return [
6 6
     [
7 7
         'query' => 'mutation {
8 8
             requestMembershipEnd
Please login to merge, or discard this patch.
server/Application/Api/Field/Mutation/CreateOrder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
                 Helper::throwIfDenied(new Order(), 'create');
40 40
 
41 41
                 $input = $args['input'];
42
-                $input['orderLines'] = array_map(fn ($line) => Utility::entityIdToModel($line), $input['orderLines']);
42
+                $input['orderLines'] = array_map(fn($line) => Utility::entityIdToModel($line), $input['orderLines']);
43 43
                 $input['country'] = isset($input['country']) ? $input['country']->getEntity() : null;
44 44
 
45 45
                 /** @var Invoicer $invoicer */
Please login to merge, or discard this patch.
server/Application/Repository/OrganizationRepository.php 5 patches
Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,6 +40,4 @@
 block discarded – undo
40 40
             'digital' => ProductTypeType::DIGITAL,
41 41
         ];
42 42
 
43
-        $connection->executeUpdate($sqlUpgrade, $params);
44
-    }
45
-}
43
+        $connection->executeUpdate($sqlUpgrade, $params
46 44
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,6 +40,4 @@
 block discarded – undo
40 40
             'digital' => ProductTypeType::DIGITAL,
41 41
         ];
42 42
 
43
-        $connection->executeUpdate($sqlUpgrade, $params);
44
-    }
45
-}
43
+        $connection->executeUpdate($sqlUpgrade, $params
46 44
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,6 +40,4 @@
 block discarded – undo
40 40
             'digital' => ProductTypeType::DIGITAL,
41 41
         ];
42 42
 
43
-        $connection->executeUpdate($sqlUpgrade, $params);
44
-    }
45
-}
43
+        $connection->executeUpdate($sqlUpgrade, $params
46 44
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,6 +40,4 @@
 block discarded – undo
40 40
             'digital' => ProductTypeType::DIGITAL,
41 41
         ];
42 42
 
43
-        $connection->executeUpdate($sqlUpgrade, $params);
44
-    }
45
-}
43
+        $connection->executeUpdate($sqlUpgrade, $params
46 44
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,6 +40,4 @@
 block discarded – undo
40 40
             'digital' => ProductTypeType::DIGITAL,
41 41
         ];
42 42
 
43
-        $connection->executeUpdate($sqlUpgrade, $params);
44
-    }
45
-}
43
+        $connection->executeUpdate($sqlUpgrade, $params
46 44
\ No newline at end of file
Please login to merge, or discard this patch.
server/Application/Service/Importer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
             }
154 154
 
155 155
             // un-escape all fields
156
-            $line = array_map(fn ($r) => html_entity_decode($r), $line);
156
+            $line = array_map(fn($r) => html_entity_decode($r), $line);
157 157
 
158 158
             [
159 159
                 $email,
Please login to merge, or discard this patch.