Failed Conditions
Push — master ( 26d9bc...273b28 )
by Adrien
09:56 queued 07:08
created
tests/Blog/Model/User.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
             return $this->posts;
162 162
         }
163 163
 
164
-        return $this->posts->filter(fn (Post $post) => $post->getStatus() === $status);
164
+        return $this->posts->filter(fn(Post $post) => $post->getStatus() === $status);
165 165
     }
166 166
 
167 167
     /**
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
      */
170 170
     public function getPostsWithIds(array $ids): Collection
171 171
     {
172
-        return $this->posts->filter(fn (Post $post) => in_array($post->getId(), $ids, true));
172
+        return $this->posts->filter(fn(Post $post) => in_array($post->getId(), $ids, true));
173 173
     }
174 174
 
175 175
     public function setManager(?self $manager): void
Please login to merge, or discard this patch.
src/Definition/Operator/GroupOperatorType.php 5 patches
Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,8 +34,4 @@
 block discarded – undo
34 34
 
35 35
     public function getDqlCondition(UniqueNameFactory $uniqueNameFactory, ClassMetadata $metadata, QueryBuilder $queryBuilder, string $alias, string $field, ?array $args): ?string
36 36
     {
37
-        $queryBuilder->addGroupBy($alias . '.' . $field);
38
-
39
-        return null;
40
-    }
41
-}
37
+        $queryBuilder->addGroupBy($alias . '.' . $field
42 38
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,8 +34,4 @@
 block discarded – undo
34 34
 
35 35
     public function getDqlCondition(UniqueNameFactory $uniqueNameFactory, ClassMetadata $metadata, QueryBuilder $queryBuilder, string $alias, string $field, ?array $args): ?string
36 36
     {
37
-        $queryBuilder->addGroupBy($alias . '.' . $field);
38
-
39
-        return null;
40
-    }
41
-}
37
+        $queryBuilder->addGroupBy($alias . '.' . $field
42 38
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,8 +34,4 @@
 block discarded – undo
34 34
 
35 35
     public function getDqlCondition(UniqueNameFactory $uniqueNameFactory, ClassMetadata $metadata, QueryBuilder $queryBuilder, string $alias, string $field, ?array $args): ?string
36 36
     {
37
-        $queryBuilder->addGroupBy($alias . '.' . $field);
38
-
39
-        return null;
40
-    }
41
-}
37
+        $queryBuilder->addGroupBy($alias . '.' . $field
42 38
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,8 +34,4 @@
 block discarded – undo
34 34
 
35 35
     public function getDqlCondition(UniqueNameFactory $uniqueNameFactory, ClassMetadata $metadata, QueryBuilder $queryBuilder, string $alias, string $field, ?array $args): ?string
36 36
     {
37
-        $queryBuilder->addGroupBy($alias . '.' . $field);
38
-
39
-        return null;
40
-    }
41
-}
37
+        $queryBuilder->addGroupBy($alias . '.' . $field
42 38
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,8 +34,4 @@
 block discarded – undo
34 34
 
35 35
     public function getDqlCondition(UniqueNameFactory $uniqueNameFactory, ClassMetadata $metadata, QueryBuilder $queryBuilder, string $alias, string $field, ?array $args): ?string
36 36
     {
37
-        $queryBuilder->addGroupBy($alias . '.' . $field);
38
-
39
-        return null;
40
-    }
41
-}
37
+        $queryBuilder->addGroupBy($alias . '.' . $field
42 38
\ No newline at end of file
Please login to merge, or discard this patch.
src/Factory/Type/FilterGroupJoinTypeFactory.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
         $type = new InputObjectType([
28 28
             'name' => $typeName,
29 29
             'description' => 'Type to specify join tables in a filter',
30
-            'fields' => fn (): array => $this->getJoinsFields($className),
30
+            'fields' => fn(): array => $this->getJoinsFields($className),
31 31
         ]);
32 32
 
33 33
         return $type;
Please login to merge, or discard this patch.