Passed
Push — feature-family-log ( d36cb7...455fa6 )
by Laurent
06:20
created
Administration/Infrastructure/Finders/Doctrine/DoctrineFamilyLogFinder.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 )
67 67
 SELECT DISTINCT uuid, parent_id, label, level, path, slug FROM cte
68 68
 ORDER BY level DESC
69
-SQL;
69
+sql;
70 70
 
71 71
         $results = $this->connection->executeQuery($query)->fetchAllAssociative();
72 72
 
Please login to merge, or discard this patch.
Administration/Infrastructure/Finders/Doctrine/DoctrineSupplierFinder.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
         $results = $this->connection->executeQuery($query)->fetchAllAssociative();
119 119
 
120 120
         return new Suppliers(
121
-            ...\array_map(static function (array $supplier) {
121
+            ...\array_map(static function(array $supplier) {
122 122
                 $familyLog = FamilyLog::create(
123 123
                     FamilyLogUuid::fromString($supplier['familyLogId']),
124 124
                     NameField::fromString($supplier['label']),
Please login to merge, or discard this patch.
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     supplier.slug as slug
58 58
 FROM supplier
59 59
 WHERE uuid = :uuid
60
-SQL;
60
+sql;
61 61
         $result = $this->connection->executeQuery($query, ['uuid' => $uuid])->fetchAssociative();
62 62
 
63 63
         if (null === $result) {
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 FROM supplier
115 115
 INNER JOIN family_log ON supplier.family_log_id = family_log.uuid
116 116
 WHERE active = 1
117
-SQL;
117
+sql;
118 118
         $results = $this->connection->executeQuery($query)->fetchAllAssociative();
119 119
 
120 120
         return new Suppliers(
Please login to merge, or discard this patch.
Persistence/DoctrineOrm/Repositories/DoctrineFamilyLogRepository.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
 )
66 66
 SELECT DISTINCT uuid, parent_id, label, slug, level, path FROM cte
67 67
 ORDER BY level
68
-SQL;
68
+sql;
69 69
 
70 70
         // Get parents
71 71
         $result = $this->connection->executeQuery($query, ['uuid' => $uuid])->fetchAllAssociative();
Please login to merge, or discard this patch.