From 607ffafd9ffe07b5813a8298313e0bf5d427347e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 11 Jul 2025 13:54:51 +0100 Subject: [PATCH] `fixtures/rubocop@x.x.x.rbi`: fix style. At least for me locally: `brew style` complains about this and `brew style --fix` autocorrects it. --- .../Homebrew/test/support/fixtures/rubocop@x.x.x.rbi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/test/support/fixtures/rubocop@x.x.x.rbi b/Library/Homebrew/test/support/fixtures/rubocop@x.x.x.rbi index c801526c1c..476e7f2a25 100644 --- a/Library/Homebrew/test/support/fixtures/rubocop@x.x.x.rbi +++ b/Library/Homebrew/test/support/fixtures/rubocop@x.x.x.rbi @@ -11,11 +11,11 @@ class Parser::Source::Range include ::RuboCop::Ext::Range end -RuboCop::CLI::STATUS_OFFENSES = T.let(T.unsafe(nil), Integer) +RuboCop::CLI::STATUS_OFFENSES = T.let(T.unsafe(nil).freeze, Integer) -RuboCop::CLI::STATUS_SUCCESS = T.let(T.unsafe(nil), Integer) +RuboCop::CLI::STATUS_SUCCESS = T.let(T.unsafe(nil).freeze, Integer) -RuboCop::CommentConfig::CONFIG_DISABLED_LINE_RANGE_MIN = T.let(T.unsafe(nil), Float) +RuboCop::CommentConfig::CONFIG_DISABLED_LINE_RANGE_MIN = T.let(T.unsafe(nil).freeze, Float) class RuboCop::Config include ::RuboCop::PathUtil @@ -73,6 +73,6 @@ module RuboCop::Version end end -VERSION = "x.x.x" +VERSION = "x.x.x".freeze -SOME_CONSTANT = "some constant value" +SOME_CONSTANT = "some constant value".freeze