Passed
Pull Request — master (#5)
by Alex
02:11
created
src/Filter/AbstractExpression.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         $paramName = uniqid($queryAlias, false);
49 49
 
50 50
         $expression = $this->createExpression($queryBuilder->expr(), $fieldName, $paramName, $queryAlias);
51
-        if (!isset($criteria['where']) || WhereType::AND === $criteria['where']) {
51
+        if (!isset($criteria['where']) || WhereType:: AND === $criteria['where']) {
52 52
             $queryBuilder->andWhere($expression);
53 53
         } else {
54 54
             $queryBuilder->orWhere($expression);
Please login to merge, or discard this patch.
src/Filter/Between.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,12 +32,12 @@
 block discarded – undo
32 32
         $toParamName = uniqid($queryAlias, false);
33 33
 
34 34
         $expression = $queryBuilder->expr()->between(
35
-            $queryAlias . '.' . $fieldName,
36
-            ':' . $fromParamName,
37
-            ':' . $toParamName
35
+            $queryAlias.'.'.$fieldName,
36
+            ':'.$fromParamName,
37
+            ':'.$toParamName
38 38
         );
39 39
 
40
-        if (!isset($criteria['where']) || WhereType::AND === $criteria['where']) {
40
+        if (!isset($criteria['where']) || WhereType:: AND === $criteria['where']) {
41 41
             $queryBuilder->andWhere($expression);
42 42
         } else {
43 43
             $queryBuilder->orWhere($expression);
Please login to merge, or discard this patch.
src/Filter/AbstractJoin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         if (is_string($conditions)) {
66 66
             $condition = $conditions;
67 67
         } elseif (is_object($condition)) {
68
-            $condition = (string)$conditions;
68
+            $condition = (string) $conditions;
69 69
         } elseif (is_array($conditions) && !empty($conditions)) {
70 70
             $tempQueryBuilder = $queryBuilder->createQueryBuilder();
71 71
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
         $parentAlias = $criteria['parent_alias'] ?? 'entity';
82 82
         $this->applyJoin(
83 83
             $queryBuilder,
84
-            $parentAlias . '.' . $fieldName,
84
+            $parentAlias.'.'.$fieldName,
85 85
             $alias,
86 86
             $condition,
87 87
             $criteria['join_type'] ?? Join::WITH,
Please login to merge, or discard this patch.