/** * Commas start a new line unless they are found within inline parentheses or SQL 'LIMIT' clause. * If the previous TOKEN_VALUE is 'LIMIT', undo new line. */ public function writeNewLineBecauseOfComma() { $this->newline = true; if (true === $this->formatter->getClauseLimit()) { $this->newline = false; $this->formatter->setClauseLimit(false); } }