Update RBI files for rubocop-sorbet.

This commit is contained in:
BrewTestBot 2022-04-28 18:15:35 +00:00
parent 5ccd9c5a1d
commit 00909fc282
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
2 changed files with 15 additions and 1 deletions

View File

@ -20,7 +20,8 @@ class RuboCop::Cop::Sorbet::BindingConstantWithoutTypeAlias < ::RuboCop::Cop::Co
def autocorrect(node); end
def binding_unaliased_type?(param0 = T.unsafe(nil)); end
def dynamic_type_creation_with_block?(param0 = T.unsafe(nil)); end
def generic_parameter_decl?(param0 = T.unsafe(nil)); end
def generic_parameter_decl_block_call?(param0 = T.unsafe(nil)); end
def generic_parameter_decl_call?(param0 = T.unsafe(nil)); end
def method_needing_aliasing_on_t?(param0); end
def not_dynamic_type_creation_with_block?(node); end
def not_generic_parameter_decl?(node); end
@ -192,6 +193,14 @@ class RuboCop::Cop::Sorbet::KeywordArgumentOrdering < ::RuboCop::Cop::Sorbet::Si
def check_order_for_kwoptargs(parameters); end
end
module RuboCop::Cop::Sorbet::MutableConstantSorbetAwareBehaviour
def on_assignment(value); end
class << self
def prepended(base); end
end
end
class RuboCop::Cop::Sorbet::OneAncestorPerLine < ::RuboCop::Cop::Cop
def abstract?(param0); end
def autocorrect(node); end

View File

@ -5239,6 +5239,11 @@ class RuboCop::Cop::FormulaCop
def required_dependency_name?(param0, param1); end
end
class RuboCop::Cop::Style::MutableConstant
include ::RuboCop::Cop::Sorbet::MutableConstantSorbetAwareBehaviour
def t_let(param0=T.unsafe(nil)); end
end
module RuboCop::RSpec::ExpectOffense
def expect_correction(correction, loop: T.unsafe(nil), source: T.unsafe(nil)); end