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

ignore-warnings and exclude-checks don't work #256

Closed
jcvignoli opened this issue Feb 3, 2025 · 2 comments
Closed

ignore-warnings and exclude-checks don't work #256

jcvignoli opened this issue Feb 3, 2025 · 2 comments

Comments

@jcvignoli
Copy link

I just made use of one of you improvement for v1.1.1:

ignore-warnings: 'PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage,WordPress.PHP.DevelopmentFunctions.error_log_wp_debug_backtrace_summary'

But it still throw warning:

https://github.com/jcvignoli/lumiere-movies/actions/runs/13115643339

The full workflow is as follows:
https://github.com/jcvignoli/lumiere-movies/blob/master/.github/workflows/wp-check.yml

the same happens should I use exclude-checks

@swissspidy
Copy link
Member

ignore-warnings is a boolean to say whether to ignore warnings reported by Plugin Check.

What's new in 1.1.1 and what you are looking for is ignore-codes, which takes a list of error codes to ignore.

@jcvignoli
Copy link
Author

thanks, I misread the docs.

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

No branches or pull requests

2 participants