Passed
Branch master (cb9631)
by Alex
07:30
created
Category
src/Filter/IsEqual.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
22 22
      */
23 23
     protected function createExpression(Expr $expr, string $fieldName, string $parameterName, string $alias): string
24 24
     {
25
-        return (string)$expr->eq($alias . '.' . $fieldName, ':' . $parameterName);
25
+        return (string) $expr->eq($alias.'.'.$fieldName, ':'.$parameterName);
26 26
     }
27 27
 }
Please login to merge, or discard this patch.
src/Filter/IsGreaterThan.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
22 22
      */
23 23
     protected function createExpression(Expr $expr, string $fieldName, string $parameterName, string $alias): string
24 24
     {
25
-        return (string)$expr->gt($alias . '.' . $fieldName, ':' . $parameterName);
25
+        return (string) $expr->gt($alias.'.'.$fieldName, ':'.$parameterName);
26 26
     }
27 27
 }
Please login to merge, or discard this patch.
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/IsMemberOf.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
22 22
      */
23 23
     protected function createExpression(Expr $expr, string $fieldName, string $parameterName, string $alias): string
24 24
     {
25
-        return (string)$expr->isMemberOf($alias . '.' . $fieldName, ':' . $parameterName);
25
+        return (string) $expr->isMemberOf($alias.'.'.$fieldName, ':'.$parameterName);
26 26
     }
27 27
 }
Please login to merge, or discard this patch.
src/Filter/IsLessThan.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
22 22
      */
23 23
     protected function createExpression(Expr $expr, string $fieldName, string $parameterName, string $alias): string
24 24
     {
25
-        return (string)$expr->lt($alias . '.' . $fieldName, ':' . $parameterName);
25
+        return (string) $expr->lt($alias.'.'.$fieldName, ':'.$parameterName);
26 26
     }
27 27
 }
Please login to merge, or discard this patch.
src/Filter/IsNotEqual.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
22 22
      */
23 23
     protected function createExpression(Expr $expr, string $fieldName, string $parameterName, string $alias): string
24 24
     {
25
-        return (string)$expr->neq($alias . '.' . $fieldName, ':' . $parameterName);
25
+        return (string) $expr->neq($alias.'.'.$fieldName, ':'.$parameterName);
26 26
     }
27 27
 }
Please login to merge, or discard this patch.
src/Filter/AbstractComposite.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         $compositeExpr = $this->createComposite($queryBuilder);
53 53
         $compositeExpr->addMultiple($parts['where']->getParts());
54 54
 
55
-        if (!isset($criteria['where']) || WhereType::AND === $criteria['where']) {
55
+        if (!isset($criteria['where']) || WhereType:: AND === $criteria['where']) {
56 56
             $queryBuilder->andWhere($compositeExpr);
57 57
         } else {
58 58
             $queryBuilder->orWhere($compositeExpr);
Please login to merge, or discard this patch.
src/Filter/IsGreaterThanOrEqual.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
22 22
      */
23 23
     protected function createExpression(Expr $expr, string $fieldName, string $parameterName, string $alias): string
24 24
     {
25
-        return (string)$expr->gte($alias . '.' . $fieldName, ':' . $parameterName);
25
+        return (string) $expr->gte($alias.'.'.$fieldName, ':'.$parameterName);
26 26
     }
27 27
 }
Please login to merge, or discard this patch.
src/Filter/IsNull.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
22 22
      */
23 23
     protected function createExpression(Expr $expr, string $fieldName, string $parameterName, string $alias): string
24 24
     {
25
-        return (string)$expr->isNull($alias . '.' . $fieldName);
25
+        return (string) $expr->isNull($alias.'.'.$fieldName);
26 26
     }
27 27
 }
Please login to merge, or discard this patch.