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

Change error silencing rule from warning to error. #99

Merged

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Dec 19, 2016

See #83 (comment)

@ernilambar Care to test with this branch ?

FYI: in this case the specific sniff referenced has a public property which determines whether the sniff should throw a warning or an error. The property defaults to false (=warning), so changing the property to true fixes this. This also changes the error code the sniff uses which is why - in this case - this is the more appropriate way to change the error type.

@grappler
Copy link
Member

Tested it and it works as expected.

@grappler grappler merged commit c6b6170 into feature/theme-review-sniffs Dec 19, 2016
@grappler grappler deleted the feature/change-error-silencing-to-error branch December 19, 2016 20:26
@emiluzelac
Copy link

emiluzelac commented Dec 19, 2016 via email

@jrfnl jrfnl added this to the 0.1.0 milestone Aug 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants