sorbet: Comment more files that can't be strict because of undef

- Found with
  `grep -rL "# typed: strict" Library/Homebrew | xargs grep -l "undef "`.
- This stops people from trying to bump them and
  getting an error that they can't fix because
  [it's a Sorbet limitation](https://sorbet.org/docs/error-reference#3008),
  wasting contributor time.
This commit is contained in:
Issy Long 2024-08-09 18:18:09 +01:00
parent eaa5204b20
commit 0e81efcccb
No known key found for this signature in database
27 changed files with 27 additions and 27 deletions

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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"