E.g. there may be a plugin which would only act on sprintf, or $exactVarName->method, or MyClass::errorlog, or Issue::maybeEmit (Fetch the type, check if the format string is being used with the correct arg count)
If there is more than one of those, it would be faster and involve less boilerplate to have a single plugin which would check for those cases, and dispatch it to that plugin if needed
or property name
E.g. there may be a plugin which would only act on
sprintf
, or$exactVarName->method
, or MyClass::errorlog, orIssue::maybeEmit
(Fetch the type, check if the format string is being used with the correct arg count)If there is more than one of those, it would be faster and involve less boilerplate to have a single plugin which would check for those cases, and dispatch it to that plugin if needed