Rails/HttpStatus
: invalid status symbol is replaced with `` after safe autocorrection
#1060
Labels
bug
Something isn't working
Expected behavior
I think this cop should not be marked as a safe cop.
Actual behavior
bundle exec rubocop --only Rails/HttpStatus
Rubocop says:
bundle exec rubocop -a --only Rails/HttpStatus
Rubocop says:
And actual code turns into:
It raises Lint/Syntax violation.
Steps to reproduce the problem
RuboCop version
The text was updated successfully, but these errors were encountered: