Jeremy Dorn
e1aa999f64
Formatting and naming changes in order to merge @adityagoyal pull request.
2013-07-11 06:48:17 -07:00
adityagoyal
38a4639611
Added LEFT OUTER JOIN, RIGHT OUTER JOIN in newline reserved keys.Removed XOR.
...
Added LEFT OUTER JOIN, RIGHT OUTER JOIN in newline reserved
keys.Removed XOR.
Added LEFT OUTER JOIN and RIGHT OUTER JOIN example for windows.
2013-06-30 15:11:18 +05:30
Jeremy Dorn
3c7983d6d6
Added new compress method. Fixes #41
...
Added test cases for CLI mode and compress method.
Bumped patch version.
2013-06-12 20:56:09 -07:00
Jeremy Dorn
fa92df63b1
Improved formatting of inline parentheses. Fixes #32
...
Added "IFNULL" as a reserved word.
Changed "NOW" to "NOW()" in the reserved word list so it can be used within inline parentheses.
2013-03-20 21:18:34 -07:00
Jeremy Dorn
4142e37805
Adding support for CLI syntax highlighting. Fixes #33
2013-03-14 22:40:54 -07:00
Jeremy Dorn
d9a72005ce
Improving splitQuery method. Fixes #22
2013-02-10 15:48:03 -08:00
Jeremy Dorn
f5759ef316
Restructuring code to make it more maintainable.
...
Adding parameter to SqlFormatter::format() to disable syntax highlighting.
Making the code compatible with PHP 5.2 by getting rid of an anonymous function.
2012-10-04 22:10:16 -07:00
Florin Patan
997cc0e0dd
Formatted source code according to PSR-1 and PSR-2. Added composer support
2012-09-10 22:33:39 +03:00
Jeremy Dorn
1fc60240c8
Adding new removeComments method and using it before splitting queries.
...
Improved examples page.
2012-08-25 11:48:15 -07:00
Jeremy Dorn
638725ce8e
Fixed bugs with splitQuery. Updated README and examples.
...
Fixed undefined variable error with highlight method.
2012-05-22 22:45:09 -07:00
Jeremy Dorn
a90c9d4a49
Added new method 'highlight' that only does syntax highlighting and
...
preserves original whitespace.
2012-05-12 08:59:50 -07:00
jdorn
4c6d7f11e8
Fixing include path in examples. Added example with comments.
2012-05-08 23:29:40 -07:00
Jeremy Dorn
0ced5f358b
Added example output screenshot. Created examples directory.
2012-05-06 09:58:25 -07:00