Skip to content
Unverified Commit 1f06bc24 authored by Morris Jobke's avatar Morris Jobke
Browse files

Declare func() as safe method in phan



We added a special `func()` method to the query builder, which is a plain text function by definition. It uses the string and does no escaping on purpose. It has the potential for an injection but requiring to add the "supress warning" to all surrounding code makes it harder to spot actual problems, that this plugin want to find. So it's better to only need to check the func() and not all the surrounding code as well.

Signed-off-by: default avatarMorris Jobke <hey@morrisjobke.de>
parent 056660bf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment