Failed Conditions
Pull Request — develop (#6743)
by Grégoire
62:30
created
lib/Doctrine/ORM/Query/Exec/SingleTableDeleteUpdateExecutor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM\Query\Exec;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/Lexer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM\Query;
6 6
 
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
 
156 156
             // Recognize identifiers, aliased or qualified names
157 157
             case (ctype_alpha($value[0]) || $value[0] === '_' || $value[0] === '\\'):
158
-                $name = 'Doctrine\ORM\Query\Lexer::T_' . strtoupper($value);
158
+                $name = 'Doctrine\ORM\Query\Lexer::T_'.strtoupper($value);
159 159
 
160 160
                 if (defined($name)) {
161 161
                     $type = constant($name);
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/AST/DeleteStatement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM\Query\AST;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/AST/CoalesceExpression.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM\Query\AST;
6 6
 
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function __construct(array $scalarExpressions)
29 29
     {
30
-        $this->scalarExpressions  = $scalarExpressions;
30
+        $this->scalarExpressions = $scalarExpressions;
31 31
     }
32 32
 
33 33
     /**
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/AST/Functions/BitAndFunction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM\Query\AST\Functions;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/AST/Functions/ConcatFunction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM\Query\AST\Functions;
6 6
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             $args[] = $sqlWalker->walkStringPrimary($expression);
40 40
         }
41 41
 
42
-        return call_user_func_array([$platform,'getConcatExpression'], $args);
42
+        return call_user_func_array([$platform, 'getConcatExpression'], $args);
43 43
     }
44 44
 
45 45
     /**
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/AST/Functions/IdentityFunction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM\Query\AST\Functions;
6 6
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         $tableAlias       = $sqlWalker->getSQLTableAlias($tableName, $dqlAlias);
74 74
         $quotedColumnName = $platform->quoteIdentifier($joinColumn->getColumnName());
75 75
 
76
-        return $tableAlias . '.' . $quotedColumnName;
76
+        return $tableAlias.'.'.$quotedColumnName;
77 77
     }
78 78
 
79 79
     /**
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/AST/Functions/AbsFunction.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM\Query\AST\Functions;
6 6
 
@@ -30,9 +30,9 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public function getSql(\Doctrine\ORM\Query\SqlWalker $sqlWalker)
32 32
     {
33
-        return 'ABS(' . $sqlWalker->walkSimpleArithmeticExpression(
33
+        return 'ABS('.$sqlWalker->walkSimpleArithmeticExpression(
34 34
             $this->simpleArithmeticExpression
35
-        ) . ')';
35
+        ).')';
36 36
     }
37 37
 
38 38
     /**
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/AST/ASTException.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM\Query\AST;
6 6
 
@@ -18,6 +18,6 @@  discard block
 block discarded – undo
18 18
      */
19 19
     public static function noDispatchForNode($node)
20 20
     {
21
-        return new self("Double-dispatch for node " . get_class($node) . " is not supported.");
21
+        return new self("Double-dispatch for node ".get_class($node)." is not supported.");
22 22
     }
23 23
 }
Please login to merge, or discard this patch.