index
:
sql-formatter
master
origin/HEAD
origin/gh-pages
origin/javascript-port
origin/master
Unnamed repository; edit this file 'description' to name the repository.
Erik Andersson
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
lib
/
SqlFormatter.php
Commit message (
Expand
)
Author
Age
Files
Lines
*
Uppercasing reserved words #86
HEAD
master
Erik Andersson
2019-03-13
1
-0
/
+8
*
Add Indent Level as an arg for format method of Sqlformatter #88
Erik Andersson
2019-03-13
1
-2
/
+2
*
Add support for named parameters (e.g. ":name"), treats them the same as vari...
Jeremy Dorn
2015-03-30
1
-3
/
+3
*
Add proper formatting for square bracket quoted strings (SQL Server style).
Jeremy
2014-04-16
1
-7
/
+8
*
Fixed formatting
Jonathan Drake
2014-04-16
1
-1
/
+1
*
Added brackets as token boundaries
Jonathan Drake
2014-04-16
1
-1
/
+1
*
Added EXEC as a reserved word
Jonathan Drake
2014-04-16
1
-2
/
+2
*
cleaner solution to highlight binary data
Dominik Liebler
2014-01-22
1
-1
/
+5
*
Prevent warnings in highlightToken
Dominik Liebler
2014-01-21
1
-1
/
+1
*
Fix PHP notice for queries that start with a boundary character.
v1.2.17
Jeremy Dorn
2014-01-12
1
-2
/
+2
*
Fix formatting of negative numbers (fixes #49).
v1.2.16
Jeremy Dorn
2013-11-27
1
-17
/
+23
*
Bump minor version number.
Jeremy Dorn
2013-11-27
1
-1
/
+1
*
Merge branch 'master' of https://github.com/augusteiner/sql-formatter into au...
Jeremy Dorn
2013-11-27
1
-5
/
+5
|
\
|
*
Corrected class name pass for closures.
José Augusto de Araújo Nascimento
2013-11-26
1
-6
/
+6
*
|
Optimized speed of initializing reserved words list.
Michal Brašna
2013-11-26
1
-15
/
+4
|
/
*
Increase PhpUnit code coverage.
Jeremy Dorn
2013-09-18
1
-6
/
+7
*
Update pull #52 - // Checks if we are out of the limit clause
Lairson Alencar
2013-09-16
1
-2
/
+2
*
Update pull #52
Lairson Alencar
2013-09-16
1
-0
/
+5
*
#34 - Added formatting to SQL LIMIT
Lairson Alencar
2013-09-16
1
-5
/
+17
*
A few PSR code fixes.
Jeremy Dorn
2013-09-02
1
-5
/
+7
*
Add highlighting support for binary/hex numbers and user-defined variables.
Jeremy Dorn
2013-09-02
1
-17
/
+67
*
Made compress remove extra whitespace from reserved words. Fixes #51
Jeremy Dorn
2013-09-02
1
-1
/
+5
*
Bump version number
Jeremy Dorn
2013-07-11
1
-1
/
+1
*
Formatting and naming changes in order to merge @adityagoyal pull request.
Jeremy Dorn
2013-07-11
1
-237
/
+194
*
Merge branch 'master' of https://github.com/adityagoyal/sql-formatter into ad...
Jeremy Dorn
2013-07-10
1
-13
/
+72
|
\
|
*
removed remove_blank_line method as suggested and calling format method to fo...
adityagoyal
2013-07-06
1
-11
/
+1
|
*
highlight mysql functions.
adityagoyal
2013-07-05
1
-2
/
+71
*
|
Merge branch 'master' of https://github.com/adityagoyal/sql-formatter into ad...
Jeremy Dorn
2013-07-01
1
-7
/
+21
|
\
\
|
|
/
|
*
removed XOR as it was there in reserved newline.Added LEFT OUTER JOIN and RIG...
adityagoyal
2013-06-30
1
-2
/
+2
|
*
removed extra parenthesis and indented code by replacing tab with spaces.
adityagoyal
2013-06-30
1
-16
/
+16
|
*
added reserved keys for sql formatter
adityagoyal
2013-06-30
1
-6
/
+9
|
*
removed new line between queries
adityagoyal
2013-06-29
1
-1
/
+12
*
|
Added missing mysql 'CHARACTER SET' keyword
Stéphane Klein
2013-06-24
1
-1
/
+1
|
/
*
Added new compress method. Fixes #41
Jeremy Dorn
2013-06-12
1
-1
/
+43
*
Changed license to MIT to simplify inclusion in other libraries.
v1.2.9
jdorn
2013-04-26
1
-2
/
+2
*
Improving block comment formatting. Fixes #37
Jeremy Dorn
2013-03-31
1
-1
/
+3
*
Fixing bug with comment formatting. Fixes #36
Jeremy Dorn
2013-03-31
1
-11
/
+11
*
Improved formatting of inline parentheses. Fixes #32
Jeremy Dorn
2013-03-20
1
-56
/
+82
*
Merge branch 'master' of https://github.com/jdorn/sql-formatter
Jeremy Dorn
2013-03-14
1
-24
/
+54
|
\
|
*
Splitting special reserved words into "top level reserved" and "newline reser...
Jeremy Dorn
2013-03-11
1
-29
/
+59
*
|
Adding support for CLI syntax highlighting. Fixes #33
Jeremy Dorn
2013-03-14
1
-16
/
+87
|
/
*
Fixed formatting bug with multiple boundary characters (e.g. ">=", "<>", etc....
Jeremy Dorn
2013-03-07
1
-13
/
+16
*
Fixing utf-8 encoding bug with PHP 5.3. Fixes #27
Jeremy Dorn
2013-03-07
1
-1
/
+1
*
replace 'static' keyword by 'self' to be compatible with php 5.2
Franck Magnan
2013-03-06
1
-3
/
+3
*
fixed formatting
Franck Magnan
2013-03-05
1
-3
/
+3
*
remove option from output method and use attribute instead
Franck Magnan
2013-03-05
1
-12
/
+13
*
adding option to deactivate preformatted text
Franck Magnan
2013-03-05
1
-4
/
+23
*
Fixed bug when formatting "SELECT#comment" without a space before "#".
Jeremy Dorn
2013-03-03
1
-2
/
+2
*
Fixing bug with parsing long strings. PCRE was seg faulting. Fixes #25
Jeremy Dorn
2013-02-21
1
-1
/
+1
*
Using class constants for token types and token components now.
Jeremy Dorn
2013-02-10
1
-61
/
+78
*
Improving splitQuery method. Fixes #22
Jeremy Dorn
2013-02-10
1
-8
/
+12
*
Making it easier to customize appearance.
Jeremy Dorn
2013-01-17
1
-23
/
+24
*
Fixed bug with unterminated strings.
Jeremy Dorn
2013-01-08
1
-27
/
+28
*
Fixed formatting bug when 2 special reserved words immediately followed each ...
Jeremy Dorn
2012-12-29
1
-2
/
+6
*
Removing "INSERT INTO" as a special reserved word. It looks better if format...
Jeremy Dorn
2012-12-27
1
-1
/
+1
*
Small bug fix and version bump.
Jeremy Dorn
2012-12-27
1
-2
/
+2
*
Fixing formatting bug when a special reserved word has multiple whitespace ch...
Jeremy Dorn
2012-12-27
1
-3
/
+9
*
Fixed a couple formatting bugs. Added a few more optimizations.
Jeremy Dorn
2012-12-25
1
-70
/
+96
*
Fixed lots of formatting bugs and inconsistencies. Rewrote the format method...
Jeremy Dorn
2012-12-24
1
-150
/
+199
*
Major refactoring of code to improve performance. Now using primarily regula...
Jeremy Dorn
2012-12-23
1
-143
/
+117
*
Implemented caching during tokenization. Added a script for testing performa...
v1.2.0
Jeremy Dorn
2012-12-22
1
-7
/
+56
*
Some code readability cleanup and additional micro-optimizations
Joseph Bielawski
2012-12-19
1
-81
/
+99
*
Another optimization. Was performing an array merge for every format, change...
Jeremy Dorn
2012-12-18
1
-9
/
+14
*
Update lib/SqlFormatter.php
Joseph Bielawski
2012-12-18
1
-16
/
+14
*
Fixing several bugs.
Jeremy Dorn
2012-11-12
1
-2
/
+6
*
Version bump.
v1.1.0
Jeremy Dorn
2012-11-11
1
-2
/
+3
*
Fixed bug that was marking "from" a reserved word in "select mytable.from"
Jeremy Dorn
2012-11-02
1
-16
/
+23
*
Adding more punctuation to the word boundary list.
Jeremy Dorn
2012-10-31
1
-1
/
+1
*
Fixing bug that was adding a space between a function name and the opening pa...
Jeremy Dorn
2012-10-31
1
-4
/
+9
*
Small code style changes from pull request.
Jeremy Dorn
2012-10-12
1
-3
/
+2
*
UNIX mode restored (Fffuuuu).
Mathieu Chabanon
2012-10-12
1
-2
/
+8
*
Restructuring code to make it more maintainable.
v1.0.1
Jeremy Dorn
2012-10-04
1
-194
/
+298
*
Formatted source code according to PSR-1 and PSR-2. Added composer support
Florin Patan
2012-09-10
1
-0
/
+509