Skip to content

Commit

Permalink
Merge pull request #17997 from Homebrew/srb-more-undefs-cant-be-strict
Browse files Browse the repository at this point in the history
sorbet: Comment more files that can't be `strict` because of `undef`
  • Loading branch information
issyl0 authored Aug 9, 2024
2 parents 112098c + 0e81efc commit 8744032
Show file tree
Hide file tree
Showing 27 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion Library/Homebrew/cli/args.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

require "ostruct"
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/linux/cleanup.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Homebrew
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/linux/dependency_collector.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

require "os/linux/glibc"
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/linux/diagnostic.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

require "tempfile"
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/linux/formula.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

class Formula
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/linux/formula_installer.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

class FormulaInstaller
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/linux/keg.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

class Keg
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/linux/parser.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Homebrew
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/linux/simulate_system.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Homebrew
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/cleaner.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

class Cleaner
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/cleanup.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Homebrew
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/dependency_collector.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

class DependencyCollector
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/dev-cmd/bottle.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Homebrew
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/development_tools.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

require "os/mac/xcode"
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/diagnostic.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Homebrew
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/extend/ENV/std.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Stdenv
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/extend/ENV/super.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Superenv
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/formula.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

class Formula
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/formula_installer.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

class FormulaInstaller
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/hardware/cpu.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

require "macho"
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/keg.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

require "system_command"
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/keg_relocate.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

class Keg
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/linkage_checker.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

class LinkageChecker
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/readall.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Readall
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/simulate_system.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Homebrew
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/system_config.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

require "system_command"
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/ignorable.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

require "warnings"
Expand Down

0 comments on commit 8744032

Please sign in to comment.