We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The current message is this
Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.
That's literal copy/paste from rspec https://github.com/SonarSource/rspec/blob/master/rules/S109/message.adoc
but this rspec notation was supposed to be implemented as one of those two variants. Users should not see it. It should have been
Assign this magic number '2' to a well-named constant, and use the constant instead.
or
Assign this magic number '2' to a well-named variable, and use the variable instead.
or we can go around like this
Assign this magic number '2' to a well-named variable or constant, and use that instead.
The text was updated successfully, but these errors were encountered:
cristian-ambrosini-sonarsource
Successfully merging a pull request may close this issue.
The current message is this
That's literal copy/paste from rspec
https://github.com/SonarSource/rspec/blob/master/rules/S109/message.adoc
but this rspec notation was supposed to be implemented as one of those two variants. Users should not see it.
It should have been
or
or we can go around like this
The text was updated successfully, but these errors were encountered: