Skip to content
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

Add tests for Ensure Docblock presence for wpm_apply_filters_typed() rule #7150

Open
Miraeld opened this issue Nov 28, 2024 · 0 comments · May be fixed by #7156
Open

Add tests for Ensure Docblock presence for wpm_apply_filters_typed() rule #7150

Miraeld opened this issue Nov 28, 2024 · 0 comments · May be fixed by #7156

Comments

@Miraeld
Copy link
Contributor

Miraeld commented Nov 28, 2024

As we were having trouble with the test implementation within this parent issue, we've took the decision to seperate the test implementation to the feature implementation.

The goal of this rule is to detect the type of param given from a docblock and check if the one used in wpm_apply_filters_typed() is the same.
Also, it makes sure we are having docblock for the mentioned function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants