bbatsov/rubocop — pull request #1377 by jonas054 (2014-10-07 15:27:09+00:00)
Title: [Fix #1350] Check that Blocks cop doesn't create syntax errors

The cops `AndOr` and `Not` share the same logic, but it looks like their `autocorrect` methods are not capable of introducing syntax errors.