diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.6.3.rbi similarity index 94% rename from Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.6.3.rbi index 4639a32008..50c16d1c3c 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.6.3.rbi @@ -1,9 +1,9 @@ +# typed: true + # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `rubocop-sorbet` gem. # Please instead update this file by running `bin/tapioca gem rubocop-sorbet`. -# typed: true - module RuboCop; end module RuboCop::Cop; end module RuboCop::Cop::Sorbet; end @@ -76,10 +76,10 @@ class RuboCop::Cop::Sorbet::EnforceSignatures < ::RuboCop::Cop::Sorbet::Signatur def accessor?(param0 = T.unsafe(nil)); end def autocorrect(node); end - def on_block(node); end def on_def(node); end def on_defs(node); end def on_send(node); end + def on_signature(node); end def scope(node); end private @@ -104,6 +104,17 @@ class RuboCop::Cop::Sorbet::EnforceSignatures::SigSuggestion def generate_return; end end +class RuboCop::Cop::Sorbet::EnforceSingleSigil < ::RuboCop::Cop::Sorbet::ValidSigil + include ::RuboCop::Cop::RangeHelp + + def autocorrect(_node); end + def investigate(processed_source); end + + protected + + def extract_all_sigils(processed_source); end +end + class RuboCop::Cop::Sorbet::FalseSigil < ::RuboCop::Cop::Sorbet::HasSigil def minimum_strictness; end end @@ -123,6 +134,7 @@ RuboCop::Cop::Sorbet::ForbidExtendTSigHelpersInShims::RESTRICT_ON_SEND = T.let(T class RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral < ::RuboCop::Cop::Cop def initialize(*_arg0); end + def autocorrect(node); end def not_lit_const_include?(param0 = T.unsafe(nil)); end def on_send(node); end def used_names; end @@ -131,13 +143,16 @@ end RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral::MSG = T.let(T.unsafe(nil), String) -class RuboCop::Cop::Sorbet::ForbidRBIOutsideOfSorbetDir < ::RuboCop::Cop::Cop +class RuboCop::Cop::Sorbet::ForbidRBIOutsideOfAllowedPaths < ::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) + private + + def allowed_paths; end + def message; end +end class RuboCop::Cop::Sorbet::ForbidSuperclassConstLiteral < ::RuboCop::Cop::Cop def not_lit_const_superclass?(param0 = T.unsafe(nil)); end @@ -194,16 +209,6 @@ end RuboCop::Cop::Sorbet::OneAncestorPerLine::MSG = T.let(T.unsafe(nil), String) -class RuboCop::Cop::Sorbet::ParametersOrderingInSignature < ::RuboCop::Cop::Sorbet::SignatureCop - def on_signature(node); end - def signature_params(param0); end - - private - - def check_for_inconsistent_param_ordering(sig_params_order, parameters); end - def extract_parameters(sig_params); end -end - class RuboCop::Cop::Sorbet::SignatureBuildOrder < ::RuboCop::Cop::Sorbet::SignatureCop def autocorrect(node); end def on_signature(node); end @@ -220,9 +225,12 @@ class RuboCop::Cop::Sorbet::SignatureBuildOrder::ModernBuilder < ::RuboCop::AST: RuboCop::Cop::Sorbet::SignatureBuildOrder::ORDER = T.let(T.unsafe(nil), Hash) class RuboCop::Cop::Sorbet::SignatureCop < ::RuboCop::Cop::Cop + def allowed_recv(recv); end def on_block(node); end def on_signature(_); end def signature?(param0 = T.unsafe(nil)); end + def with_runtime?(param0 = T.unsafe(nil)); end + def without_runtime?(param0 = T.unsafe(nil)); end end class RuboCop::Cop::Sorbet::SingleLineRbiClassModuleDefinitions < ::RuboCop::Cop::Cop