Commit graph

8 commits

Author SHA1 Message Date
Jeremy
ffd2441bc0 Add proper formatting for square bracket quoted strings (SQL Server style).
For #63
2014-04-16 18:55:36 -07:00
Jeremy Dorn
8859d66473 Fix formatting of negative numbers (fixes #49).
Improve phpunit code coverage.
2013-11-27 14:51:13 -08:00
Jeremy Dorn
51a660e97b Increase PhpUnit code coverage.
Fix undefined variable $clause_limit notice.
A couple PSR fixes.
Bump version number.
2013-09-18 07:43:47 -07:00
Jeremy Dorn
2724ddb7fb Fixed formatting bug with multiple boundary characters (e.g. ">=", "<>", etc.). Fixes #29
Improved code coverage in unit tests.  Now everything is covered except the infinite loop catching code which I don't know how to test.
2013-03-07 18:26:59 -08:00
Jeremy Dorn
2efc4bb4f6 Fixed bug when formatting "SELECT#comment" without a space before "#".
Added PHPUnit tests and .travis integration.
2013-03-03 11:18:19 -08:00
Jeremy Dorn
7cc05be93f Fixed formatting bug when 2 special reserved words immediately followed each other.
Added set operators to special reserved list (UNION, UNION ALL, EXCEPT, and INTERSECT).
Updated test sql list to reduce the number of similar queries and better reflect real world usecases.
Improved output of the regression test to make debugging easier.
2012-12-29 11:41:32 -08:00
Jeremy Dorn
14d1b5449c Cleaned up documentation, improved performance test script and sample queries. 2012-12-23 11:43:23 -08:00
Jeremy Dorn
aa86b3fed7 Implemented caching during tokenization. Added a script for testing performance. Bumped the dev version number. 2012-12-22 13:46:50 -08:00