diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.6.1.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi similarity index 86% rename from Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.6.1.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi index 7494411ca6..312d56685e 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.6.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi @@ -1,17 +1,12 @@ # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `rubocop-sorbet` gem. -# Please instead update this file by running `tapioca sync`. +# Please instead update this file by running `bin/tapioca sync`. # typed: true -module RuboCop -end - -module RuboCop::Cop -end - -module RuboCop::Cop::Sorbet -end +module RuboCop; end +module RuboCop::Cop; end +module RuboCop::Cop::Sorbet; end class RuboCop::Cop::Sorbet::AllowIncompatibleOverride < ::RuboCop::Cop::Cop def allow_incompatible?(param0); end @@ -37,20 +32,29 @@ class RuboCop::Cop::Sorbet::BindingConstantWithoutTypeAlias < ::RuboCop::Cop::Co def using_type_alias?(param0 = T.unsafe(nil)); end end +class RuboCop::Cop::Sorbet::CallbackConditionalsBinding < ::RuboCop::Cop::Cop + def autocorrect(node); end + def on_send(node); end +end + +RuboCop::Cop::Sorbet::CallbackConditionalsBinding::CALLBACKS = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Sorbet::CheckedTrueInSignature < ::RuboCop::Cop::Sorbet::SignatureCop - include(::RuboCop::Cop::RangeHelp) + include ::RuboCop::Cop::RangeHelp def offending_node(param0); end def on_signature(node); end end +RuboCop::Cop::Sorbet::CheckedTrueInSignature::MESSAGE = T.let(T.unsafe(nil), String) + class RuboCop::Cop::Sorbet::ConstantsFromStrings < ::RuboCop::Cop::Cop def constant_from_string?(param0 = T.unsafe(nil)); end def on_send(node); end end class RuboCop::Cop::Sorbet::EnforceSigilOrder < ::RuboCop::Cop::Sorbet::ValidSigil - include(::RuboCop::Cop::RangeHelp) + include ::RuboCop::Cop::RangeHelp def autocorrect(_node); end def investigate(processed_source); end @@ -62,13 +66,9 @@ class RuboCop::Cop::Sorbet::EnforceSigilOrder < ::RuboCop::Cop::Sorbet::ValidSig end RuboCop::Cop::Sorbet::EnforceSigilOrder::CODING_REGEX = T.let(T.unsafe(nil), Regexp) - RuboCop::Cop::Sorbet::EnforceSigilOrder::FROZEN_REGEX = T.let(T.unsafe(nil), Regexp) - RuboCop::Cop::Sorbet::EnforceSigilOrder::INDENT_REGEX = T.let(T.unsafe(nil), Regexp) - RuboCop::Cop::Sorbet::EnforceSigilOrder::MAGIC_REGEX = T.let(T.unsafe(nil), Regexp) - RuboCop::Cop::Sorbet::EnforceSigilOrder::PREFERRED_ORDER = T.let(T.unsafe(nil), Hash) class RuboCop::Cop::Sorbet::EnforceSignatures < ::RuboCop::Cop::Sorbet::SignatureCop @@ -109,7 +109,7 @@ class RuboCop::Cop::Sorbet::FalseSigil < ::RuboCop::Cop::Sorbet::HasSigil end class RuboCop::Cop::Sorbet::ForbidExtendTSigHelpersInShims < ::RuboCop::Cop::Cop - include(::RuboCop::Cop::RangeHelp) + include ::RuboCop::Cop::RangeHelp def autocorrect(node); end def extend_t_helpers?(param0 = T.unsafe(nil)); end @@ -118,7 +118,6 @@ class RuboCop::Cop::Sorbet::ForbidExtendTSigHelpersInShims < ::RuboCop::Cop::Cop end RuboCop::Cop::Sorbet::ForbidExtendTSigHelpersInShims::MSG = T.let(T.unsafe(nil), String) - RuboCop::Cop::Sorbet::ForbidExtendTSigHelpersInShims::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) class RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral < ::RuboCop::Cop::Cop @@ -132,6 +131,14 @@ end RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral::MSG = T.let(T.unsafe(nil), String) +class RuboCop::Cop::Sorbet::ForbidRBIOutsideOfSorbetDir < ::RuboCop::Cop::Cop + include ::RuboCop::Cop::RangeHelp + + def investigate(processed_source); end +end + +RuboCop::Cop::Sorbet::ForbidRBIOutsideOfSorbetDir::PATH_REGEXP = T.let(T.unsafe(nil), Regexp) + class RuboCop::Cop::Sorbet::ForbidSuperclassConstLiteral < ::RuboCop::Cop::Cop def not_lit_const_superclass?(param0 = T.unsafe(nil)); end def on_class(node); end @@ -139,6 +146,11 @@ end RuboCop::Cop::Sorbet::ForbidSuperclassConstLiteral::MSG = T.let(T.unsafe(nil), String) +class RuboCop::Cop::Sorbet::ForbidTUnsafe < ::RuboCop::Cop::Cop + def on_send(node); end + def t_unsafe?(param0 = T.unsafe(nil)); end +end + class RuboCop::Cop::Sorbet::ForbidUntypedStructProps < ::RuboCop::Cop::Cop def on_class(node); end def subclass_of_t_struct?(param0 = T.unsafe(nil)); end @@ -204,6 +216,7 @@ class RuboCop::Cop::Sorbet::SignatureBuildOrder < ::RuboCop::Cop::Sorbet::Signat def node_reparsed_with_modern_features(node); end end +class RuboCop::Cop::Sorbet::SignatureBuildOrder::ModernBuilder < ::RuboCop::AST::Builder; end RuboCop::Cop::Sorbet::SignatureBuildOrder::ORDER = T.let(T.unsafe(nil), Hash) class RuboCop::Cop::Sorbet::SignatureCop < ::RuboCop::Cop::Cop @@ -256,20 +269,13 @@ class RuboCop::Cop::Sorbet::ValidSigil < ::RuboCop::Cop::Cop end RuboCop::Cop::Sorbet::ValidSigil::SIGIL_REGEX = T.let(T.unsafe(nil), Regexp) - RuboCop::Cop::Sorbet::ValidSigil::STRICTNESS_LEVELS = T.let(T.unsafe(nil), Array) - RuboCop::NodePattern = RuboCop::AST::NodePattern - RuboCop::ProcessedSource = RuboCop::AST::ProcessedSource - -module RuboCop::Sorbet -end - +module RuboCop::Sorbet; end RuboCop::Sorbet::CONFIG = T.let(T.unsafe(nil), Hash) - -class RuboCop::Sorbet::Error < ::StandardError -end +RuboCop::Sorbet::CONFIG_DEFAULT = T.let(T.unsafe(nil), Pathname) +class RuboCop::Sorbet::Error < ::StandardError; end module RuboCop::Sorbet::Inject class << self @@ -277,6 +283,6 @@ module RuboCop::Sorbet::Inject end end +RuboCop::Sorbet::PROJECT_ROOT = T.let(T.unsafe(nil), Pathname) RuboCop::Sorbet::VERSION = T.let(T.unsafe(nil), String) - RuboCop::Token = RuboCop::AST::Token