Skip to content

The php-format flag is missing #12

@Goral64

Description

@Goral64

The scanner does not add the php-format flag for gettext() arguments that are a format string for sprintf() functions such as %s or %d.
For example:
sprintf(gettext("This is %s"), $value);
does not return flag
#, php-format

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions