jdorn / sql-formatter

A lightweight php class for formatting sql statements. Handles automatic indentation and syntax highlighting.
http://jdorn.github.com/sql-formatter/
MIT License
3.89k stars 186 forks source link

add test for :pdoParams - complements #74 #76

Closed boedah closed 9 years ago

boedah commented 9 years ago

Just had the issue with v1.2.17 and noticed there is no test for that, so I added one.

There are also positional parameters (?) which are not correctly highlighted, I think. (#333 instead of orange), but did not want to change this.

boedah commented 9 years ago

something went wrong, recreated the fork and submitted a new PR...