summaryrefslogtreecommitdiffstats
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
* Merge pull request #79 from stof/patch-3origin/masterorigin/HEADJeremy Dorn2015-08-301-1/+1
|\
| * Switch Travis to the stable HHVM versionChristophe Coevoet2015-05-201-1/+1
|/
* Add support for named parameters (e.g. ":name"), treats them the same as vari...Jeremy Dorn2015-03-301-3/+3
* Merge pull request #65 from glensc/cli-bin2Jeremy Dorn2014-07-281-4/+26
|\
| * update paths in non-cli helpElan Ruusamäe2014-06-061-3/+4
| * autodetect colorsElan Ruusamäe2014-06-061-1/+22
* | Merge pull request #66 from Nyholm/patch-1Jeremy Dorn2014-07-081-0/+2
|\ \ | |/ |/|
| * Added HHVM to travis.ymlTobias Nyholm2014-07-081-0/+2
|/
* Merge pull request #46 from rajibahmed/masterJeremy Dorn2014-06-052-1/+20
|\
| * Add codes to sql-script removing require_once.Rajib Ahmed2013-06-271-1/+15
| * Add sql-formatter executable by reusing cli.phpRajib Ahmed2013-06-272-1/+6
* | Add proper formatting for square bracket quoted strings (SQL Server style).Jeremy2014-04-167-15/+34
* | Merge pull request #63 from drakej/masterJeremy Dorn2014-04-161-3/+3
|\ \
| * | 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
|/ /
* | Merge pull request #61 from h4cc/patch-1Jeremy Dorn2014-03-151-0/+2
|\ \
| * | Added PHP 5.5 and 5.6 to travis.Julius Beckmann2014-03-151-0/+2
|/ /
* | Merge pull request #58 from domnikl/masterJeremy Dorn2014-01-222-1/+20
|\ \
| * | cleaner solution to highlight binary dataDominik Liebler2014-01-222-1/+20
| * | 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-277-17/+116
* | 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-188-237/+853
* | 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-024-20/+70
* | 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-112-240/+195
* | Merge branch 'master' of https://github.com/adityagoyal/sql-formatter into ad...Jeremy Dorn2013-07-102-14/+73
|\ \
| * | removeCommentsadityagoyal2013-07-061-1/+1
| * | Revert "test case"adityagoyal2013-07-061-1/+1
| * | test caseadityagoyal2013-07-061-1/+1
| * | test caseadityagoyal2013-07-061-1/+1
| * | 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-012-7/+26
|\ \ \ | |/ / | | / | |/ |/|
| * Added LEFT OUTER JOIN, RIGHT OUTER JOIN in newline reserved keys.Removed XOR.adityagoyal2013-06-301-0/+5
| * 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-126-6/+459
* Changed license to MIT to simplify inclusion in other libraries.v1.2.9jdorn2013-04-263-3/+24
* Improving block comment formatting. Fixes #37Jeremy Dorn2013-03-313-3/+5
* Fixing bug with comment formatting. Fixes #36Jeremy Dorn2013-03-313-15/+21
* Improved formatting of inline parentheses. Fixes #32Jeremy Dorn2013-03-205-366/+197
* Changing example cli script to work with Unix pipes and command line arguments.Jeremy Dorn2013-03-151-1/+14
* Merge branch 'master' of https://github.com/jdorn/sql-formatterJeremy Dorn2013-03-145-123/+662
|\
| * Splitting special reserved words into "top level reserved" and "newline reser...Jeremy Dorn2013-03-115-128/+667
* | Adding support for CLI syntax highlighting. Fixes #33Jeremy Dorn2013-03-144-17/+95
|/
* Fixed formatting bug with multiple boundary characters (e.g. ">=", "<>", etc....Jeremy Dorn2013-03-076-24/+39
* Fixing utf-8 encoding bug with PHP 5.3. Fixes #27Jeremy Dorn2013-03-073-5/+5
* Adding PHPUnit as a dev dependency.Jeremy Dorn2013-03-062-0/+5
* 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-0310-5937/+2039
* 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-103-18/+35
* Making it easier to customize appearance.Jeremy Dorn2013-01-172-4137/+4138
* 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-294-7586/+1413
* Removing "INSERT INTO" as a special reserved word. It looks better if format...Jeremy Dorn2012-12-272-285/+197
* 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-252-1450/+397
* Fixed lots of formatting bugs and inconsistencies. Rewrote the format method...Jeremy Dorn2012-12-242-7291/+4746
* Major refactoring of code to improve performance. Now using primarily regula...Jeremy Dorn2012-12-233-143/+12621
* Cleaned up documentation, improved performance test script and sample queries.Jeremy Dorn2012-12-234-94/+3711
* Implemented caching during tokenization. Added a script for testing performa...v1.2.0Jeremy Dorn2012-12-224-8/+162
* Merge pull request #18 from stloyd/masterJeremy Dorn2012-12-221-81/+99
|\
| * 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
* Merge pull request #16 from stloyd/patch-1Jeremy Dorn2012-12-181-16/+14
|\
| * Update lib/SqlFormatter.phpJoseph Bielawski2012-12-181-16/+14
|/
* Merge pull request #13 from stof/patch-2Jeremy Dorn2012-11-171-1/+1
|\
| * Fixed the branch alias for masterChristophe Coevoet2012-11-171-1/+1
|/
* 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-042-196/+324
* Merge pull request #3 from stof/patch-1Jeremy Dorn2012-09-131-1/+1
|\
| * Changed the composer autoloading to use the classmapChristophe Coevoet2012-09-141-1/+1
|/