-
Notifications
You must be signed in to change notification settings - Fork 84
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
Rules do not set severity to severity tag #38
Comments
I confirm this issue. Took me a while to figure out what was the problem. Currently we have a namespace issue that breaks the way PHPCS is working. PR #14 seem to have caused it. I asked the author to validate and update. |
When this bug is fixed, we should be able to change severity on those different levels:
|
I agree, the severity levels do not work. This appears to be caused by the namespacing implemented in #14. The severity is ultimately referenced by this line in PHPCS: In order to fix this the entire project would need to be refactored to the Either fix would almost certainly break compatibility with any existing integrations. |
Please consider my proposal in issue #47. What I'm proposing there would/should - aside from removing the symlink hack and updating the install instructions - have no impact on existing integrations. Rulesets referencing the sniffs in this standard would still work or rather, will start working again. |
I would like to be able to use the severity tag for specific rules in a ruleset.xml file to be able to better filter output and handle issues in stages, example:
This phpcs functionality does not appear to be working with phpcs-security-audit rules.
The text was updated successfully, but these errors were encountered: