I am running coder-review --sql on a module of mine that I know has tables not enclosed in brackets (db_query SELECT, not INSERT INTO). The coder review reports No Problems Found. Has anyone else experienced this issue?

Comments

brandy.brown created an issue. See original summary.

brandy.brown’s picture

Issue summary: View changes
klausi’s picture

Title: --sql not flagging tables not enclosed in {} » Check that table names are enclosed with {} in query strings.
Version: 7.x-2.5 » 8.x-2.x-dev
Component: Coder Review » Coder Sniffer
Category: Bug report » Feature request

Coder 7.x-2.x is now frozen, please use Coder 8.x-2.x which can also be used to check Drupal 7 code.

That said we don't have a rule yet to check "{}" braces in query strings. Changing this to a feature request.