diff --git a/lib/rubocop/cop/mixin/enforce_superclass.rb b/lib/rubocop/cop/mixin/enforce_superclass.rb index db085c2a6b5..7e91f48cc75 100644 --- a/lib/rubocop/cop/mixin/enforce_superclass.rb +++ b/lib/rubocop/cop/mixin/enforce_superclass.rb @@ -6,7 +6,8 @@ module Cop # # IMPORTANT: RuboCop core depended on this module when it supported Rails department. # Rails department has been extracted to RuboCop Rails gem. - # This module is deprecated and will be removed by RuboCop 2.0. + # + # @deprecated This module is deprecated and will be removed by RuboCop 2.0. # It will not be updated to `RuboCop::Cop::Base` v1 API to maintain compatibility # with existing RuboCop Rails 2.8 or lower. #