diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.10.2.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.11.0.rbi similarity index 96% rename from Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.10.2.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.11.0.rbi index fe1406f80e..85299e08ce 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.10.2.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.11.0.rbi @@ -1,6 +1,6 @@ # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `rubocop-performance` gem. -# Please instead update this file by running `tapioca sync`. +# Please instead update this file by running `bin/tapioca sync`. # typed: true @@ -430,6 +430,19 @@ RuboCop::Cop::Performance::IoReadlines::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Performance::IoReadlines::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) +class RuboCop::Cop::Performance::MapCompact < ::RuboCop::Cop::Base + include(::RuboCop::Cop::RangeHelp) + extend(::RuboCop::Cop::AutoCorrector) + extend(::RuboCop::Cop::TargetRubyVersion) + + def map_compact(param0 = T.unsafe(nil)); end + def on_send(node); end +end + +RuboCop::Cop::Performance::MapCompact::MSG = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Performance::MapCompact::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::MethodObjectAsBlock < ::RuboCop::Cop::Base def method_object_as_argument?(param0 = T.unsafe(nil)); end def on_block_pass(node); end @@ -701,6 +714,23 @@ RuboCop::Cop::Performance::ReverseFirst::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Performance::ReverseFirst::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) +class RuboCop::Cop::Performance::SelectMap < ::RuboCop::Cop::Base + include(::RuboCop::Cop::RangeHelp) + extend(::RuboCop::Cop::TargetRubyVersion) + + def bad_method?(param0 = T.unsafe(nil)); end + def on_send(node); end + + private + + def map_method_candidate(node); end + def offense_range(node, map_method); end +end + +RuboCop::Cop::Performance::SelectMap::MSG = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Performance::SelectMap::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::Size < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector)