Fix rubocop errors

3 jobs for sonarqube in 20 minutes and 7 seconds (queued for 2 seconds)