Fixing RuboCop offences