diff --git a/lib/rubocop/cop/cop.rb b/lib/rubocop/cop/cop.rb index 9e6cbf7b02f..4f1f40bce41 100644 --- a/lib/rubocop/cop/cop.rb +++ b/lib/rubocop/cop/cop.rb @@ -7,7 +7,7 @@ module RuboCop module Cop # @deprecated Use Cop::Base instead # Legacy scaffold for Cops. - # See https://docs.rubocop.org/rubocop/cop_api_v1_changelog.html + # See https://docs.rubocop.org/rubocop/v1_upgrade_notes.html class Cop < Base attr_reader :offenses diff --git a/lib/rubocop/cop/legacy/corrections_proxy.rb b/lib/rubocop/cop/legacy/corrections_proxy.rb index 5344b05c53d..fb78189dd4d 100644 --- a/lib/rubocop/cop/legacy/corrections_proxy.rb +++ b/lib/rubocop/cop/legacy/corrections_proxy.rb @@ -4,7 +4,7 @@ module RuboCop module Cop module Legacy # Legacy support for Corrector#corrections - # See https://docs.rubocop.org/rubocop/cop_api_v1_changelog.html + # See https://docs.rubocop.org/rubocop/v1_upgrade_notes.html class CorrectionsProxy def initialize(corrector) @corrector = corrector diff --git a/lib/rubocop/cop/legacy/corrector.rb b/lib/rubocop/cop/legacy/corrector.rb index e8c080b5c3b..f2b84828176 100644 --- a/lib/rubocop/cop/legacy/corrector.rb +++ b/lib/rubocop/cop/legacy/corrector.rb @@ -4,7 +4,7 @@ module RuboCop module Cop module Legacy # Legacy Corrector for v0 API support. - # See https://docs.rubocop.org/rubocop/cop_api_v1_changelog.html + # See https://docs.rubocop.org/rubocop/v1_upgrade_notes.html class Corrector < RuboCop::Cop::Corrector # Support legacy second argument def initialize(source, corr = [])