Make sure that the given range isn't out of bounds [Hack]
Make sure that the given range isn't out of bounds [Hack]

Ideally, cops would be fixed so they don't return non sensical ranges.
Note: `Parser::Source::Rewriter` disregards end range here, but
`Parser::Source::TreeRewriter` doesn't.

panthomakos/rubocop,jfelchner/rubocop,bbatsov/rubocop,palkan/rubocop,tdeo/rubocop,rrosenblum/rubocop,deivid-rodriguez/rubocop,jmks/rubocop,deivid-rodriguez/rubocop,rrosenblum/rubocop,tdeo/rubocop,scottmatthewman/rubocop,haziqhafizuddin/rubocop,mikegee/rubocop,petehamilton/rubocop,sue445/rubocop,vergenzt/rubocop,meganemura/rubocop,bquorning/rubocop,bquorning/rubocop,rrosenblum/rubocop,meganemura/rubocop,bbatsov/rubocop,scottmatthewman/rubocop,pocke/rubocop,akihiro17/rubocop,jmks/rubocop,maxjacobson/rubocop,jmks/rubocop,meganemura/rubocop,panthomakos/rubocop,smakagon/rubocop,smakagon/rubocop,vergenzt/rubocop,urbanautomaton/rubocop,panthomakos/rubocop,palkan/rubocop,sue445/rubocop,pocke/rubocop,mikegee/rubocop,jfelchner/rubocop,mikegee/rubocop,tejasbubane/rubocop,tejasbubane/rubocop,sue445/rubocop,deivid-rodriguez/rubocop,bquorning/rubocop,palkan/rubocop,maxjacobson/rubocop,akihiro17/rubocop,petehamilton/rubocop,akihiro17/rubocop,haziqhafizuddin/rubocop,urbanautomaton/rubocop,petehamilton/rubocop,tejasbubane/rubocop,vergenzt/rubocop,tdeo/rubocop,maxjacobson/rubocop,jfelchner/rubocop