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 # frozen_string_literal: true
require "ostruct" 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 # frozen_string_literal: true
module Homebrew 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 # frozen_string_literal: true
require "os/linux/glibc" 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 # frozen_string_literal: true
require "tempfile" 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 # frozen_string_literal: true
class Formula 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 # frozen_string_literal: true
class FormulaInstaller 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 # frozen_string_literal: true
class Keg 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 # frozen_string_literal: true
module Homebrew 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 # frozen_string_literal: true
module Homebrew 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 # frozen_string_literal: true
class Cleaner 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 # frozen_string_literal: true
module Homebrew 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 # frozen_string_literal: true
class DependencyCollector 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 # frozen_string_literal: true
module Homebrew 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 # frozen_string_literal: true
require "os/mac/xcode" 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 # frozen_string_literal: true
module Homebrew 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 # frozen_string_literal: true
module Stdenv 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 # frozen_string_literal: true
module Superenv 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 # frozen_string_literal: true
class Formula 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 # frozen_string_literal: true
class FormulaInstaller 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 # frozen_string_literal: true
require "macho" 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 # frozen_string_literal: true
require "system_command" 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 # frozen_string_literal: true
class Keg 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 # frozen_string_literal: true
class LinkageChecker 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 # frozen_string_literal: true
module Readall 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 # frozen_string_literal: true
module Homebrew 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 # frozen_string_literal: true
require "system_command" 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 # frozen_string_literal: true
require "warnings" require "warnings"