class RuboCop::Cop::InternalAffairs::InheritDeprecatedCopClass

‘RuboCop::Cop::Cop` is deprecated and will be removed in RuboCop 2.0. Your custom cop class should inherit from `RuboCop::Cop::Base` instead of `RuboCop::Cop::Cop`.

See “v1 Upgrade Notes” for more details: docs.rubocop.org/rubocop/v1_upgrade_notes.html

@example

# bad
class Foo < Cop
end

# good
class Foo < Base
end