Autofix Rubocop Style/EmptyMethod (#23732)
This commit is contained in:
		
							parent
							
								
									fef6c59b3a
								
							
						
					
					
						commit
						8ef09813a2
					
				@ -2695,16 +2695,6 @@ Style/ConcatArrayLiterals:
 | 
				
			|||||||
Style/Documentation:
 | 
					Style/Documentation:
 | 
				
			||||||
  Enabled: false
 | 
					  Enabled: false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Offense count: 3
 | 
					 | 
				
			||||||
# This cop supports safe autocorrection (--autocorrect).
 | 
					 | 
				
			||||||
# Configuration parameters: EnforcedStyle.
 | 
					 | 
				
			||||||
# SupportedStyles: compact, expanded
 | 
					 | 
				
			||||||
Style/EmptyMethod:
 | 
					 | 
				
			||||||
  Exclude:
 | 
					 | 
				
			||||||
    - 'db/migrate/20181024224956_migrate_account_conversations.rb'
 | 
					 | 
				
			||||||
    - 'db/migrate/20190529143559_preserve_old_layout_for_existing_users.rb'
 | 
					 | 
				
			||||||
    - 'db/migrate/20200510110808_reset_web_app_secret.rb'
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Offense count: 1
 | 
					# Offense count: 1
 | 
				
			||||||
# This cop supports safe autocorrection (--autocorrect).
 | 
					# This cop supports safe autocorrection (--autocorrect).
 | 
				
			||||||
Style/ExplicitBlockArgument:
 | 
					Style/ExplicitBlockArgument:
 | 
				
			||||||
 | 
				
			|||||||
@ -100,8 +100,7 @@ class MigrateAccountConversations < ActiveRecord::Migration[5.2]
 | 
				
			|||||||
    end
 | 
					    end
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  def down
 | 
					  def down; end
 | 
				
			||||||
  end
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  private
 | 
					  private
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -12,6 +12,5 @@ class PreserveOldLayoutForExistingUsers < ActiveRecord::Migration[5.2]
 | 
				
			|||||||
    end
 | 
					    end
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  def down
 | 
					  def down; end
 | 
				
			||||||
  end
 | 
					 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
				
			|||||||
@ -10,6 +10,5 @@ class ResetWebAppSecret < ActiveRecord::Migration[5.2]
 | 
				
			|||||||
    web_app.save!
 | 
					    web_app.save!
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  def down
 | 
					  def down; end
 | 
				
			||||||
  end
 | 
					 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user