Test Setup Failed
Branch master (ff11bc)
by Povilas
03:57
created
Category
src/Mapper/ListMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
             return $this->fields;
89 89
         }
90 90
 
91
-        return $this->fields->filter(static function (ListField $listField) use ($lazy) {
91
+        return $this->fields->filter(static function(ListField $listField) use ($lazy) {
92 92
             return $listField->getOption(ListField::OPTION_LAZY) === $lazy;
93 93
         });
94 94
     }
Please login to merge, or discard this patch.
src/Mapper/FilterField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
         $value = $this->getValue();
82 82
 
83 83
         return !(null === $value ||
84
-            (is_array($value) && count($value) === 0 ) ||
84
+            (is_array($value) && count($value) === 0) ||
85 85
             ($value instanceof Countable && $value->count() === 0));
86 86
     }
87 87
 
Please login to merge, or discard this patch.
src/Mapper/JoinMapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
             return $this->fields;
78 78
         }
79 79
 
80
-        return $this->fields->filter(static function (JoinField $joinField) use ($lazy) {
80
+        return $this->fields->filter(static function(JoinField $joinField) use ($lazy) {
81 81
             return $joinField->getOption(JoinField::OPTION_LAZY) === $lazy;
82 82
         });
83 83
     }
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 
181 181
         $path = $parent ? sprintf('%s.%s', $parent->getPath(), $prop) : $prop;
182 182
 
183
-        if (!$alias)  {
183
+        if (!$alias) {
184 184
             $alias = str_replace('.', '_', $path);
185 185
         }
186 186
 
Please login to merge, or discard this patch.
src/Type/SelectorType/GroupSelectorType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      */
17 17
     public function apply(QueryBuilder $queryBuilder, array $paths, string $id): void
18 18
     {
19
-        $statement = sprintf('GROUP_CONCAT(%s SEPARATOR \'%s\')', $this->getPath($paths),self::DELIMITER);
19
+        $statement = sprintf('GROUP_CONCAT(%s SEPARATOR \'%s\')', $this->getPath($paths), self::DELIMITER);
20 20
         $queryBuilder->addSelect(sprintf('%s as %s', $statement, $this->getAlias($id, 0)));
21 21
     }
22 22
 
Please login to merge, or discard this patch.
src/Type/QueryType/HavingQueryType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
     public function configureOptions(OptionsResolver $resolver): void
23 23
     {
24 24
         $resolver->setDefined(['type', 'function']);
25
-        $resolver->setDefault('type',Comparison::EQ);
26
-        $resolver->setDefault('function',self::COUNT);
25
+        $resolver->setDefault('type', Comparison::EQ);
26
+        $resolver->setDefault('function', self::COUNT);
27 27
         $resolver->setAllowedValues('type', [
28 28
             Comparison::EQ, Comparison::GT, Comparison::GTE, Comparison::LT, Comparison::LTE, Comparison::NEQ
29 29
         ]);
Please login to merge, or discard this patch.