Run bin/rubocop -a
#1831
Run bin/rubocop -a
#1831
517 new alerts
New alerts in code changed by this pull request
- 41 warnings
- 470 notes
Alerts not introduced by this pull request might have been detected because the code changes were too large.
See annotations below for details.
Annotations
Check notice on line 15 in app/controllers/campaigns/donations_controller.rb
Code scanning / Rubocop
Checks the correct usage of date aware methods, such as Date.today, Date.current etc. Note
Check notice on line 27 in app/controllers/nonprofits/custom_field_joins_controller.rb
Code scanning / Rubocop
Prefer `pluck` over `map { ... }`. Note
Check notice on line 24 in app/controllers/nonprofits/supporters_controller.rb
Code scanning / Rubocop
Checks the correct usage of date aware methods, such as Date.today, Date.current etc. Note
Check notice on line 87 in app/controllers/nonprofits/supporters_controller.rb
Code scanning / Rubocop
Prefer `pluck` over `map { ... }`. Note
Check notice on line 21 in app/controllers/nonprofits/tag_joins_controller.rb
Code scanning / Rubocop
Prefer `pluck` over `map { ... }`. Note
Check notice on line 47 in app/controllers/recurring_donations_controller.rb
Code scanning / Rubocop
Pass conditions to `where` and `where.not` as a hash instead of manually constructing SQL. Note
Check warning on line 24 in app/controllers/super_admins_controller.rb
Code scanning / Rubocop
Avoid rescuing the Exception class. Warning
Check notice on line 34 in app/controllers/super_admins_controller.rb
Code scanning / Rubocop
Pass conditions to `where` and `where.not` as a hash instead of manually constructing SQL. Note
Check notice on line 38 in app/controllers/tickets_controller.rb
Code scanning / Rubocop
Checks the correct usage of date aware methods, such as Date.today, Date.current etc. Note
Check notice on line 20 in app/legacy_lib/create_campaign_gift.rb
Code scanning / Rubocop
Pass conditions to `where` and `where.not` as a hash instead of manually constructing SQL. Note
Check notice on line 25 in app/legacy_lib/create_campaign_gift.rb
Code scanning / Rubocop
Pass conditions to `where` and `where.not` as a hash instead of manually constructing SQL. Note
Check notice on line 30 in app/legacy_lib/delete_custom_field_joins.rb
Code scanning / Rubocop
Pass conditions to `where` and `where.not` as a hash instead of manually constructing SQL. Note
Check notice on line 6 in app/legacy_lib/email.rb
Code scanning / Rubocop
Constants should use SCREAMING_SNAKE_CASE. Note
Check warning on line 6 in app/legacy_lib/email.rb
Code scanning / Rubocop
Checks unintended or-assignment to constant. Warning
Check notice on line 12 in app/legacy_lib/export_payments.rb
Code scanning / Rubocop
Pass conditions to `where` and `where.not` as a hash instead of manually constructing SQL. Note
Check notice on line 17 in app/legacy_lib/export_payments.rb
Code scanning / Rubocop
Pass conditions to `where` and `where.not` as a hash instead of manually constructing SQL. Note
Check notice on line 51 in app/legacy_lib/export_payments.rb
Code scanning / Rubocop
Pass conditions to `where` and `where.not` as a hash instead of manually constructing SQL. Note
Check notice on line 56 in app/legacy_lib/export_payments.rb
Code scanning / Rubocop
Checks the correct usage of time zone aware methods. Note
Check notice on line 12 in app/legacy_lib/export_recurring_donations.rb
Code scanning / Rubocop
Pass conditions to `where` and `where.not` as a hash instead of manually constructing SQL. Note
Check notice on line 17 in app/legacy_lib/export_recurring_donations.rb
Code scanning / Rubocop
Pass conditions to `where` and `where.not` as a hash instead of manually constructing SQL. Note
Check notice on line 51 in app/legacy_lib/export_recurring_donations.rb
Code scanning / Rubocop
Pass conditions to `where` and `where.not` as a hash instead of manually constructing SQL. Note
Check notice on line 56 in app/legacy_lib/export_recurring_donations.rb
Code scanning / Rubocop
Checks the correct usage of time zone aware methods. Note
Check notice on line 11 in app/legacy_lib/export_supporter_notes.rb
Code scanning / Rubocop
Pass conditions to `where` and `where.not` as a hash instead of manually constructing SQL. Note
Check notice on line 16 in app/legacy_lib/export_supporter_notes.rb
Code scanning / Rubocop
Pass conditions to `where` and `where.not` as a hash instead of manually constructing SQL. Note
Check notice on line 50 in app/legacy_lib/export_supporter_notes.rb
Code scanning / Rubocop
Pass conditions to `where` and `where.not` as a hash instead of manually constructing SQL. Note