-
-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False positive on a prefixed function #582
Comments
Sniff should probably differentiate extensions which use an underscore (_)
after their name in functions and those which don't. Not sure about fam
though - never heard of it before...
…On Feb 13, 2018 09:35, "Denis Žoljom" ***@***.***> wrote:
Theme sniffer <https://github.com/WPTRT/theme-sniffer> plugin uses
PHPCompatiblity to check if the theme is compatible with certain versions
of php.
We got an issue where a custom made function that's called
family_grows_entry_posted_on_setup() triggers error
Extension 'fam' is removed since PHP 5.1
The family part gives a false positive.
Can this be fixed?
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#582>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGvbtEZHfrIQM8-Hdy1EkEqpI5-DgzhWks5tUTszgaJpZM4SDU-L>
.
|
Just FYI: we got similar false-positives for
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Theme sniffer plugin uses PHPCompatiblity to check if the theme is compatible with certain versions of php.
We got an issue where a custom made function that's called
family_grows_entry_posted_on_setup()
triggers errorExtension 'fam' is removed since PHP 5.1
The
family
part gives a false positive.Can this be fixed?
Thanks.
The text was updated successfully, but these errors were encountered: