Completed
Push — master ( becade...5e010c )
by Michal
06:05 queued 02:08
created
src/Statements/LoadStatement.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -7,14 +7,8 @@
 block discarded – undo
7 7
 namespace PhpMyAdmin\SqlParser\Statements;
8 8
 
9 9
 use PhpMyAdmin\SqlParser\Components\ArrayObj;
10
-use PhpMyAdmin\SqlParser\Components\Condition;
11 10
 use PhpMyAdmin\SqlParser\Components\Expression;
12 11
 use PhpMyAdmin\SqlParser\Components\ExpressionArray;
13
-use PhpMyAdmin\SqlParser\Components\FunctionCall;
14
-use PhpMyAdmin\SqlParser\Components\IntoKeyword;
15
-use PhpMyAdmin\SqlParser\Components\JoinKeyword;
16
-use PhpMyAdmin\SqlParser\Components\Limit;
17
-use PhpMyAdmin\SqlParser\Components\OrderKeyword;
18 12
 use PhpMyAdmin\SqlParser\Components\OptionsArray;
19 13
 use PhpMyAdmin\SqlParser\Components\SetOperation;
20 14
 use PhpMyAdmin\SqlParser\Parser;
Please login to merge, or discard this patch.
src/Statement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -483,7 +483,7 @@
 block discarded – undo
483 483
                 if ($minJoin === 0 && stripos($clauseType, 'JOIN')) {
484 484
                     // First JOIN clause is detected
485 485
                     $minJoin = $maxJoin = $clauseStartIdx;
486
-                } elseif ($minJoin !== 0 && ! stripos($clauseType, 'JOIN')) {
486
+                } elseif ($minJoin !== 0 && !stripos($clauseType, 'JOIN')) {
487 487
                     // After a previous JOIN clause, a non-JOIN clause has been detected
488 488
                     $maxJoin = $lastIdx;
489 489
                 } elseif ($maxJoin < $clauseStartIdx && stripos($clauseType, 'JOIN')) {
Please login to merge, or discard this patch.