@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | $ret->subquery = $token->value; |
228 | 228 | } elseif (($token->flags & Token::FLAG_KEYWORD_FUNCTION) |
229 | 229 | && (empty($options['parseField']) |
230 | - && ! $alias) |
|
230 | + && !$alias) |
|
231 | 231 | ) { |
232 | 232 | $isExpr = true; |
233 | 233 | } elseif (($token->flags & Token::FLAG_KEYWORD_RESERVED) |
@@ -261,7 +261,7 @@ discard block |
||
261 | 261 | continue; |
262 | 262 | } |
263 | 263 | $isExpr = true; |
264 | - } elseif ($brackets === 0 && strlen($ret->expr) > 0 && ! $alias) { |
|
264 | + } elseif ($brackets === 0 && strlen($ret->expr) > 0 && !$alias) { |
|
265 | 265 | /* End of expression */ |
266 | 266 | break; |
267 | 267 | } |
@@ -223,7 +223,7 @@ |
||
223 | 223 | // We have reached the end of ALTER operation and suddenly found |
224 | 224 | // a start to new statement, but have not find a delimiter between them |
225 | 225 | |
226 | - if (! ($token->value == 'SET' && $list->tokens[$list->idx - 1]->value == 'CHARACTER')) { |
|
226 | + if (!($token->value == 'SET' && $list->tokens[$list->idx - 1]->value == 'CHARACTER')) { |
|
227 | 227 | $parser->error( |
228 | 228 | 'A new statement was found, but no delimiter between it and the previous one.', |
229 | 229 | $token |
@@ -226,7 +226,7 @@ |
||
226 | 226 | $parser->error( |
227 | 227 | 'A symbol name was expected! ' |
228 | 228 | . 'A reserved keyword can not be used ' |
229 | - . 'as a column name without backquotes.' , |
|
229 | + . 'as a column name without backquotes.', |
|
230 | 230 | $token |
231 | 231 | ); |
232 | 232 | return $ret; |
@@ -71,15 +71,15 @@ |
||
71 | 71 | * @var array |
72 | 72 | */ |
73 | 73 | public static $CLAUSES = array( |
74 | - 'DELETE' => array('DELETE', 2), |
|
74 | + 'DELETE' => array('DELETE', 2), |
|
75 | 75 | // Used for options. |
76 | - '_OPTIONS' => array('_OPTIONS', 1), |
|
77 | - 'FROM' => array('FROM', 3), |
|
78 | - 'PARTITION' => array('PARTITION', 3), |
|
79 | - 'USING' => array('USING', 3), |
|
80 | - 'WHERE' => array('WHERE', 3), |
|
81 | - 'ORDER BY' => array('ORDER BY', 3), |
|
82 | - 'LIMIT' => array('LIMIT', 3), |
|
76 | + '_OPTIONS' => array('_OPTIONS', 1), |
|
77 | + 'FROM' => array('FROM', 3), |
|
78 | + 'PARTITION' => array('PARTITION', 3), |
|
79 | + 'USING' => array('USING', 3), |
|
80 | + 'WHERE' => array('WHERE', 3), |
|
81 | + 'ORDER BY' => array('ORDER BY', 3), |
|
82 | + 'LIMIT' => array('LIMIT', 3), |
|
83 | 83 | ); |
84 | 84 | |
85 | 85 | /** |
@@ -481,7 +481,7 @@ |
||
481 | 481 | if ($clauseStartIdx != -1) { |
482 | 482 | if ($joinStart == 0 && stripos($clauseType, 'JOIN')) { |
483 | 483 | $joinStart = 1; |
484 | - } elseif ($joinStart == 1 && ! stripos($clauseType, 'JOIN')) { |
|
484 | + } elseif ($joinStart == 1 && !stripos($clauseType, 'JOIN')) { |
|
485 | 485 | $joinStart = 2; |
486 | 486 | } elseif ($joinStart == 2 && stripos($clauseType, 'JOIN')) { |
487 | 487 | $error = 1; |