Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix rubocop offences for actionpack/lib/action_dispatch/journey/parse…
…r.rb Enable rubocop check for the file since rails#52610 it is no longer automatically generated file. ``` Offenses: actionpack/lib/action_dispatch/journey/parser.rb:1:1: C: [Corrected] Style/FrozenStringLiteralComment: Missing frozen string literal comment. actionpack/lib/action_dispatch/journey/parser.rb:25:7: C: [Corrected] Layout/EmptyLinesAroundAccessModifier: Remove a blank line after private. private ^^^^^^^ actionpack/lib/action_dispatch/journey/parser.rb:27:7: C: [Corrected] Layout/IndentationWidth: Use 2 (not 0) spaces for indented_internal_methods indentation. def advance_token actionpack/lib/action_dispatch/journey/parser.rb:31:7: C: [Corrected] Layout/IndentationConsistency: Inconsistent indentation detected. def do_parse ... ^^^^^^^^^^^^ actionpack/lib/action_dispatch/journey/parser.rb:35:7: C: [Corrected] Layout/IndentationConsistency: Inconsistent indentation detected. def parse_expressions ... ^^^^^^^^^^^^^^^^^^^^^ actionpack/lib/action_dispatch/journey/parser.rb:52:7: C: [Corrected] Layout/IndentationConsistency: Inconsistent indentation detected. def parse_or(lhs) ... ^^^^^^^^^^^^^^^^^ actionpack/lib/action_dispatch/journey/parser.rb:58:7: C: [Corrected] Layout/IndentationConsistency: Inconsistent indentation detected. def parse_expression ... ^^^^^^^^^^^^^^^^^^^^ actionpack/lib/action_dispatch/journey/parser.rb:68:7: C: [Corrected] Layout/IndentationConsistency: Inconsistent indentation detected. def parse_star ... ^^^^^^^^^^^^^^ actionpack/lib/action_dispatch/journey/parser.rb:74:7: C: [Corrected] Layout/IndentationConsistency: Inconsistent indentation detected. def parse_group ... ^^^^^^^^^^^^^^^ actionpack/lib/action_dispatch/journey/parser.rb:86:7: C: [Corrected] Layout/IndentationConsistency: Inconsistent indentation detected. def parse_terminal ... ^^^^^^^^^^^^^^^^^^ ```
- Loading branch information