diff options
author | Jeremy Dorn <jeremy@jeremydorn.com> | 2012-12-27 08:16:30 -0800 |
---|---|---|
committer | Jeremy Dorn <jeremy@jeremydorn.com> | 2012-12-27 08:16:30 -0800 |
commit | 9aac5ea51a1c13af3e67a7d7ba7e528f94c52485 (patch) | |
tree | eadc5314a4f7a89186a24249a10db94dbc2fac49 /lib | |
parent | cd9e399fed1487656415f7c193d581f9dac86182 (diff) | |
download | sql-formatter-9aac5ea51a1c13af3e67a7d7ba7e528f94c52485.zip sql-formatter-9aac5ea51a1c13af3e67a7d7ba7e528f94c52485.tar.gz sql-formatter-9aac5ea51a1c13af3e67a7d7ba7e528f94c52485.tar.bz2 |
Removing "INSERT INTO" as a special reserved word. It looks better if formatted as a regular reserved word.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/SqlFormatter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SqlFormatter.php b/lib/SqlFormatter.php index 7390bd7..3ef2002 100644 --- a/lib/SqlFormatter.php +++ b/lib/SqlFormatter.php @@ -43,7 +43,7 @@ class SqlFormatter // These keywords will all be on their own line protected static $special_reserved = array( 'SELECT', 'FROM', 'WHERE', 'SET', 'ORDER BY', 'GROUP BY', 'LEFT JOIN', 'OUTER JOIN', 'INNER JOIN', 'RIGHT JOIN', 'JOIN', 'LIMIT', - 'VALUES', 'UPDATE', 'HAVING', 'ADD', 'AFTER', 'ALTER TABLE', 'INSERT INTO', 'DELETE FROM', 'INSERT IGNORE INTO' + 'VALUES', 'UPDATE', 'HAVING', 'ADD', 'AFTER', 'ALTER TABLE', 'DELETE FROM' ); // Punctuation that can be used as a boundary between other tokens |