summaryrefslogtreecommitdiffstats
path: root/lib/SqlFormatter.php
Commit message (Expand)AuthorAgeFilesLines
* Uppercasing reserved words #86HEADmasterErik Andersson2019-03-131-0/+8
* Add Indent Level as an arg for format method of Sqlformatter #88Erik Andersson2019-03-131-2/+2
* Add support for named parameters (e.g. ":name"), treats them the same as vari...Jeremy Dorn2015-03-301-3/+3
* Add proper formatting for square bracket quoted strings (SQL Server style).Jeremy2014-04-161-7/+8
* Fixed formattingJonathan Drake2014-04-161-1/+1
* Added brackets as token boundariesJonathan Drake2014-04-161-1/+1
* Added EXEC as a reserved wordJonathan Drake2014-04-161-2/+2
* cleaner solution to highlight binary dataDominik Liebler2014-01-221-1/+5
* Prevent warnings in highlightTokenDominik Liebler2014-01-211-1/+1
* Fix PHP notice for queries that start with a boundary character.v1.2.17Jeremy Dorn2014-01-121-2/+2
* Fix formatting of negative numbers (fixes #49).v1.2.16Jeremy Dorn2013-11-271-17/+23
* Bump minor version number.Jeremy Dorn2013-11-271-1/+1
* Merge branch 'master' of https://github.com/augusteiner/sql-formatter into au...Jeremy Dorn2013-11-271-5/+5
|\
| * Corrected class name pass for closures.José Augusto de Araújo Nascimento2013-11-261-6/+6
* | Optimized speed of initializing reserved words list.Michal Brašna2013-11-261-15/+4
|/
* Increase PhpUnit code coverage.Jeremy Dorn2013-09-181-6/+7
* Update pull #52 - // Checks if we are out of the limit clauseLairson Alencar2013-09-161-2/+2
* Update pull #52Lairson Alencar2013-09-161-0/+5
* #34 - Added formatting to SQL LIMITLairson Alencar2013-09-161-5/+17
* A few PSR code fixes.Jeremy Dorn2013-09-021-5/+7
* Add highlighting support for binary/hex numbers and user-defined variables.Jeremy Dorn2013-09-021-17/+67
* Made compress remove extra whitespace from reserved words. Fixes #51Jeremy Dorn2013-09-021-1/+5
* Bump version numberJeremy Dorn2013-07-111-1/+1
* Formatting and naming changes in order to merge @adityagoyal pull request.Jeremy Dorn2013-07-111-237/+194
* Merge branch 'master' of https://github.com/adityagoyal/sql-formatter into ad...Jeremy Dorn2013-07-101-13/+72
|\
| * removed remove_blank_line method as suggested and calling format method to fo...adityagoyal2013-07-061-11/+1
| * highlight mysql functions.adityagoyal2013-07-051-2/+71
* | Merge branch 'master' of https://github.com/adityagoyal/sql-formatter into ad...Jeremy Dorn2013-07-011-7/+21
|\ \ | |/
| * removed XOR as it was there in reserved newline.Added LEFT OUTER JOIN and RIG...adityagoyal2013-06-301-2/+2
| * removed extra parenthesis and indented code by replacing tab with spaces.adityagoyal2013-06-301-16/+16
| * added reserved keys for sql formatteradityagoyal2013-06-301-6/+9
| * removed new line between queriesadityagoyal2013-06-291-1/+12
* | Added missing mysql 'CHARACTER SET' keywordStéphane Klein2013-06-241-1/+1
|/
* Added new compress method. Fixes #41Jeremy Dorn2013-06-121-1/+43
* Changed license to MIT to simplify inclusion in other libraries.v1.2.9jdorn2013-04-261-2/+2
* Improving block comment formatting. Fixes #37Jeremy Dorn2013-03-311-1/+3
* Fixing bug with comment formatting. Fixes #36Jeremy Dorn2013-03-311-11/+11
* Improved formatting of inline parentheses. Fixes #32Jeremy Dorn2013-03-201-56/+82
* Merge branch 'master' of https://github.com/jdorn/sql-formatterJeremy Dorn2013-03-141-24/+54
|\
| * Splitting special reserved words into "top level reserved" and "newline reser...Jeremy Dorn2013-03-111-29/+59
* | Adding support for CLI syntax highlighting. Fixes #33Jeremy Dorn2013-03-141-16/+87
|/
* Fixed formatting bug with multiple boundary characters (e.g. ">=", "<>", etc....Jeremy Dorn2013-03-071-13/+16
* Fixing utf-8 encoding bug with PHP 5.3. Fixes #27Jeremy Dorn2013-03-071-1/+1
* replace 'static' keyword by 'self' to be compatible with php 5.2Franck Magnan2013-03-061-3/+3
* fixed formattingFranck Magnan2013-03-051-3/+3
* remove option from output method and use attribute insteadFranck Magnan2013-03-051-12/+13
* adding option to deactivate preformatted textFranck Magnan2013-03-051-4/+23
* Fixed bug when formatting "SELECT#comment" without a space before "#".Jeremy Dorn2013-03-031-2/+2
* Fixing bug with parsing long strings. PCRE was seg faulting. Fixes #25Jeremy Dorn2013-02-211-1/+1
* Using class constants for token types and token components now.Jeremy Dorn2013-02-101-61/+78
* Improving splitQuery method. Fixes #22Jeremy Dorn2013-02-101-8/+12
* Making it easier to customize appearance.Jeremy Dorn2013-01-171-23/+24
* Fixed bug with unterminated strings.Jeremy Dorn2013-01-081-27/+28
* Fixed formatting bug when 2 special reserved words immediately followed each ...Jeremy Dorn2012-12-291-2/+6
* Removing "INSERT INTO" as a special reserved word. It looks better if format...Jeremy Dorn2012-12-271-1/+1
* Small bug fix and version bump.Jeremy Dorn2012-12-271-2/+2
* Fixing formatting bug when a special reserved word has multiple whitespace ch...Jeremy Dorn2012-12-271-3/+9
* Fixed a couple formatting bugs. Added a few more optimizations.Jeremy Dorn2012-12-251-70/+96
* Fixed lots of formatting bugs and inconsistencies. Rewrote the format method...Jeremy Dorn2012-12-241-150/+199
* Major refactoring of code to improve performance. Now using primarily regula...Jeremy Dorn2012-12-231-143/+117
* Implemented caching during tokenization. Added a script for testing performa...v1.2.0Jeremy Dorn2012-12-221-7/+56
* Some code readability cleanup and additional micro-optimizationsJoseph Bielawski2012-12-191-81/+99
* Another optimization. Was performing an array merge for every format, change...Jeremy Dorn2012-12-181-9/+14
* Update lib/SqlFormatter.phpJoseph Bielawski2012-12-181-16/+14
* Fixing several bugs.Jeremy Dorn2012-11-121-2/+6
* Version bump.v1.1.0Jeremy Dorn2012-11-111-2/+3
* Fixed bug that was marking "from" a reserved word in "select mytable.from"Jeremy Dorn2012-11-021-16/+23
* Adding more punctuation to the word boundary list.Jeremy Dorn2012-10-311-1/+1
* Fixing bug that was adding a space between a function name and the opening pa...Jeremy Dorn2012-10-311-4/+9
* Small code style changes from pull request.Jeremy Dorn2012-10-121-3/+2
* UNIX mode restored (Fffuuuu).Mathieu Chabanon2012-10-121-2/+8
* Restructuring code to make it more maintainable.v1.0.1Jeremy Dorn2012-10-041-194/+298
* Formatted source code according to PSR-1 and PSR-2. Added composer supportFlorin Patan2012-09-101-0/+509