Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
Coder gives a false positive in the SQL review for non-SQL strings like this:
$var = "select this and that from over there";
The attached patch should hopefully fix this, but I would like it someone else could test it out.
Cheers,
Stella
Comment | File | Size | Author |
---|---|---|---|
coder_sql_false_positive.patch | 1.75 KB | stella |
Comments
Comment #1
matt2000 CreditAttribution: matt2000 commentedLooks good, needs reroll.
Comment #2
MegaChriz CreditAttribution: MegaChriz commentedSame issue for the 7.x-2.x version: #526074: False suggestion: table names should be enclosed in {curly_brackets}
Comment #3
klausiCoder for Drupal 6 is now frozen and only security fixes will be applied. Feel free to update this issue and reopen against 7.x-2.x or 8.x-2.x.