summaryrefslogtreecommitdiffstats
path: root/examples/examples.php
Commit message (Collapse)AuthorAgeFilesLines
* Formatting and naming changes in order to merge @adityagoyal pull request.Jeremy Dorn2013-07-111-3/+1
|
* Added LEFT OUTER JOIN, RIGHT OUTER JOIN in newline reserved keys.Removed XOR.adityagoyal2013-06-301-0/+5
| | | | | | Added LEFT OUTER JOIN, RIGHT OUTER JOIN in newline reserved keys.Removed XOR. Added LEFT OUTER JOIN and RIGHT OUTER JOIN example for windows.
* Added new compress method. Fixes #41Jeremy Dorn2013-06-121-0/+24
| | | | | Added test cases for CLI mode and compress method. Bumped patch version.
* Improved formatting of inline parentheses. Fixes #32Jeremy Dorn2013-03-201-0/+9
| | | | | Added "IFNULL" as a reserved word. Changed "NOW" to "NOW()" in the reserved word list so it can be used within inline parentheses.
* Adding support for CLI syntax highlighting. Fixes #33Jeremy Dorn2013-03-141-1/+1
|
* Improving splitQuery method. Fixes #22Jeremy Dorn2013-02-101-0/+14
|
* Restructuring code to make it more maintainable.v1.0.1Jeremy Dorn2012-10-041-2/+26
| | | | | Adding parameter to SqlFormatter::format() to disable syntax highlighting. Making the code compatible with PHP 5.2 by getting rid of an anonymous function.
* Formatted source code according to PSR-1 and PSR-2. Added composer supportFlorin Patan2012-09-101-134/+152
|
* Adding new removeComments method and using it before splitting queries.Jeremy Dorn2012-08-251-29/+139
| | | | Improved examples page.
* Fixed bugs with splitQuery. Updated README and examples.Jeremy Dorn2012-05-221-0/+27
| | | | Fixed undefined variable error with highlight method.
* Added new method 'highlight' that only does syntax highlighting andJeremy Dorn2012-05-121-0/+7
| | | | preserves original whitespace.
* Fixing include path in examples. Added example with comments.jdorn2012-05-081-2/+9
|
* Added example output screenshot. Created examples directory.Jeremy Dorn2012-05-061-0/+27