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

AbstractSniffUnitTest: bug fix - warnings not counted in total #2900

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Mar 11, 2020

At the bottom of a test run a message along the lines of 4 sniff test files generated 2 unique error codes; 0 were fixable (0%) is shown.

The unique error codes, as well as the fixable count and percentage would only include error codes and would totally disregard the codes coming from warnings.

Fixed now.

At the bottom of a test run a message along the lines of `4 sniff test files generated 2 unique error codes; 0 were fixable (0%)` is shown.

The unique error codes, as well as the fixable count and percentage would only include `error` codes and would totally disregard the codes coming from `warning`s.

Fixed now.
@jrfnl
Copy link
Contributor Author

jrfnl commented Sep 2, 2020

@gsherwood Could this PR be earmarked for one of the upcoming releases ?

@gsherwood gsherwood added this to the 3.5.7 milestone Sep 2, 2020
gsherwood added a commit that referenced this pull request Sep 9, 2020
@gsherwood gsherwood merged commit bf61e98 into squizlabs:master Sep 9, 2020
@gsherwood
Copy link
Member

Nice one. I probably assumed that only errors were fixable when I first added that. Bad assumption as there appears to be 5 of them that have fixes.

@jrfnl jrfnl deleted the feature/test-frame-bugfix-warnings-not-counted branch September 9, 2020 23:02
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

Successfully merging this pull request may close these issues.

2 participants