Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sorbet: Update RBI files. #15867

Merged
merged 2 commits into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 6 additions & 3 deletions Library/Homebrew/env_config.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,12 @@ module Homebrew::EnvConfig
sig { returns(T::Boolean) }
def self.no_installed_dependents_check?; end

sig { returns(T::Boolean) }
def self.no_update_report_new?; end

sig { returns(T.nilable(String)) }
def self.no_proxy; end

sig { returns(T::Boolean) }
def self.no_update_report_new?; end

sig { returns(T.nilable(String)) }
def self.pip_index_url; end

Expand All @@ -220,6 +220,9 @@ module Homebrew::EnvConfig
sig { returns(T.nilable(String)) }
def self.svn; end

sig { returns(T::Boolean) }
def self.system_env_takes_priority?; end

sig { returns(String) }
def self.temp; end

Expand Down
15 changes: 15 additions & 0 deletions Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -2947,6 +2947,11 @@ end
module CGI::HtmlExtension
end

module Cachable
extend ::T::Private::Methods::MethodHooks
extend ::T::Private::Methods::SingletonMethodHooks
end

class Cask::AbstractCaskErrorWithToken
extend ::T::Private::Methods::MethodHooks
extend ::T::Private::Methods::SingletonMethodHooks
Expand Down Expand Up @@ -4355,6 +4360,11 @@ class Homebrew::FormulaCreator
extend ::T::Private::Methods::SingletonMethodHooks
end

module Homebrew::FreePort
extend ::T::Private::Methods::MethodHooks
extend ::T::Private::Methods::SingletonMethodHooks
end

class Homebrew::Livecheck::LivecheckVersion
extend ::T::Private::Methods::MethodHooks
extend ::T::Private::Methods::SingletonMethodHooks
Expand Down Expand Up @@ -5870,6 +5880,11 @@ class Pathname
extend ::T::Private::Methods::SingletonMethodHooks
end

module Predicable
extend ::T::Private::Methods::MethodHooks
extend ::T::Private::Methods::SingletonMethodHooks
end

class Proc
include ::MethodSource::SourceLocation::ProcExtensions
include ::MethodSource::MethodExtensions
Expand Down