vigiles 0.1.2 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -1
  3. data/.ruby-version +1 -0
  4. data/lib/vigiles/archive/extras.rb +1 -1
  5. data/lib/vigiles/archive/metadata.rb +1 -1
  6. data/lib/vigiles/archive/response.rb +31 -5
  7. data/lib/vigiles/archive.rb +1 -1
  8. data/lib/vigiles/constants.rb +1 -1
  9. data/lib/vigiles/conversation_recorder.rb +3 -0
  10. data/lib/vigiles/conversation_recorders/application_json.rb +11 -6
  11. data/lib/vigiles/conversation_recorders/unknown.rb +3 -0
  12. data/lib/vigiles/middleware/record_conversation.rb +2 -2
  13. data/lib/vigiles/utilities/json.rb +2 -4
  14. data/lib/vigiles/version.rb +1 -1
  15. data/sorbet/rbi/gems/concurrent-ruby@1.3.1.rbi +11627 -0
  16. data/sorbet/rbi/gems/{json@2.7.1.rbi → json@2.7.2.rbi} +73 -72
  17. data/sorbet/rbi/gems/{minitest@5.22.2.rbi → minitest@5.23.1.rbi} +841 -159
  18. data/sorbet/rbi/gems/{parser@3.3.0.5.rbi → parser@3.3.1.0.rbi} +233 -186
  19. data/sorbet/rbi/gems/{prism@0.24.0.rbi → prism@0.29.0.rbi} +19135 -12188
  20. data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.0.rbi} +34 -33
  21. data/sorbet/rbi/gems/{rake@13.1.0.rbi → rake@13.2.1.rbi} +77 -55
  22. data/sorbet/rbi/gems/{rbi@0.1.9.rbi → rbi@0.1.13.rbi} +226 -154
  23. data/sorbet/rbi/gems/{rdoc@6.6.3.1.rbi → rdoc@6.7.0.rbi} +333 -327
  24. data/sorbet/rbi/gems/{regexp_parser@2.9.0.rbi → regexp_parser@2.9.2.rbi} +3 -2
  25. data/sorbet/rbi/gems/{reline@0.5.7.rbi → reline@0.5.8.rbi} +1 -0
  26. data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.2.8.rbi} +121 -108
  27. data/sorbet/rbi/gems/{rubocop-ast@1.30.0.rbi → rubocop-ast@1.31.3.rbi} +92 -62
  28. data/sorbet/rbi/gems/{rubocop-minitest@0.34.5.rbi → rubocop-minitest@0.35.0.rbi} +35 -0
  29. data/sorbet/rbi/gems/{rubocop-sorbet@0.7.4.rbi → rubocop-sorbet@0.8.3.rbi} +327 -162
  30. data/sorbet/rbi/gems/{rubocop@1.60.2.rbi → rubocop@1.64.0.rbi} +1719 -1065
  31. data/sorbet/rbi/gems/{spoom@1.2.4.rbi → spoom@1.3.2.rbi} +1057 -413
  32. data/sorbet/rbi/gems/strscan@3.1.0.rbi +9 -0
  33. data/sorbet/rbi/gems/{tapioca@0.12.0.rbi → tapioca@0.14.2.rbi} +123 -448
  34. data/sorbet/rbi/gems/{thor@1.3.0.rbi → thor@1.3.1.rbi} +57 -50
  35. data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.36.rbi} +230 -37
  36. data/sorbet/rbi/gems/{zeitwerk@2.6.13.rbi → zeitwerk@2.6.15.rbi} +47 -36
  37. data/vigiles.gemspec +1 -1
  38. metadata +27 -27
  39. data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +0 -8
  40. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
  41. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +0 -23136
@@ -4,6 +4,7 @@
4
4
  # This is an autogenerated file for types exported from the `rubocop-sorbet` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem rubocop-sorbet`.
6
6
 
7
+
7
8
  # source://rubocop-sorbet//lib/rubocop/sorbet/version.rb#3
8
9
  module RuboCop; end
9
10
 
@@ -190,16 +191,30 @@ RuboCop::Cop::Sorbet::BuggyObsoleteStrictMemoization::MSG = T.let(T.unsafe(nil),
190
191
  # end
191
192
  #
192
193
  # source://rubocop-sorbet//lib/rubocop/cop/sorbet/callback_conditionals_binding.rb#35
193
- class RuboCop::Cop::Sorbet::CallbackConditionalsBinding < ::RuboCop::Cop::Cop
194
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/callback_conditionals_binding.rb#75
195
- def autocorrect(node); end
194
+ class RuboCop::Cop::Sorbet::CallbackConditionalsBinding < ::RuboCop::Cop::Base
195
+ include ::RuboCop::Cop::Alignment
196
+ extend ::RuboCop::Cop::AutoCorrector
197
+
198
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/callback_conditionals_binding.rb#81
199
+ def argumentless_unbound_callable_callback_conditional?(param0 = T.unsafe(nil)); end
196
200
 
197
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/callback_conditionals_binding.rb#127
201
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/callback_conditionals_binding.rb#91
198
202
  def on_send(node); end
203
+
204
+ private
205
+
206
+ # Find the immediately enclosing class or module name.
207
+ # Returns `nil`` if the immediate parent (skipping begin if present) is not a class or module.
208
+ #
209
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/callback_conditionals_binding.rb#128
210
+ def immediately_enclosing_module_name(node); end
199
211
  end
200
212
 
201
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/callback_conditionals_binding.rb#36
202
- RuboCop::Cop::Sorbet::CallbackConditionalsBinding::CALLBACKS = T.let(T.unsafe(nil), Array)
213
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/callback_conditionals_binding.rb#39
214
+ RuboCop::Cop::Sorbet::CallbackConditionalsBinding::MSG = T.let(T.unsafe(nil), String)
215
+
216
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/callback_conditionals_binding.rb#41
217
+ RuboCop::Cop::Sorbet::CallbackConditionalsBinding::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
203
218
 
204
219
  # Disallows the usage of `checked(true)`. This usage could cause
205
220
  # confusion; it could lead some people to believe that a method would be checked
@@ -215,18 +230,19 @@ RuboCop::Cop::Sorbet::CallbackConditionalsBinding::CALLBACKS = T.let(T.unsafe(ni
215
230
  # # good
216
231
  # sig { void }
217
232
  #
218
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/checked_true_in_signature.rb#22
219
- class RuboCop::Cop::Sorbet::CheckedTrueInSignature < ::RuboCop::Cop::Sorbet::SignatureCop
233
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/checked_true_in_signature.rb#19
234
+ class RuboCop::Cop::Sorbet::CheckedTrueInSignature < ::RuboCop::Cop::Cop
220
235
  include ::RuboCop::Cop::RangeHelp
236
+ include ::RuboCop::Cop::Sorbet::SignatureHelp
221
237
 
222
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/checked_true_in_signature.rb#26
238
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/checked_true_in_signature.rb#24
223
239
  def offending_node(param0); end
224
240
 
225
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/checked_true_in_signature.rb#37
241
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/checked_true_in_signature.rb#35
226
242
  def on_signature(node); end
227
243
  end
228
244
 
229
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/checked_true_in_signature.rb#30
245
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/checked_true_in_signature.rb#28
230
246
  RuboCop::Cop::Sorbet::CheckedTrueInSignature::MESSAGE = T.let(T.unsafe(nil), String)
231
247
 
232
248
  # Disallows the calls that are used to get constants fom Strings
@@ -258,21 +274,21 @@ RuboCop::Cop::Sorbet::CheckedTrueInSignature::MESSAGE = T.let(T.unsafe(nil), Str
258
274
  # # good
259
275
  # { "User" => User }.fetch(class_name)
260
276
  #
261
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/constants_from_strings.rb#37
262
- class RuboCop::Cop::Sorbet::ConstantsFromStrings < ::RuboCop::Cop::Cop
263
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/constants_from_strings.rb#38
264
- def constant_from_string?(param0 = T.unsafe(nil)); end
265
-
266
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/constants_from_strings.rb#42
277
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/constants_from_strings.rb#36
278
+ class RuboCop::Cop::Sorbet::ConstantsFromStrings < ::RuboCop::Cop::Base
279
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/constants_from_strings.rb#46
267
280
  def on_send(node); end
268
281
  end
269
282
 
283
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/constants_from_strings.rb#37
284
+ RuboCop::Cop::Sorbet::ConstantsFromStrings::MSG = T.let(T.unsafe(nil), String)
285
+
286
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/constants_from_strings.rb#40
287
+ RuboCop::Cop::Sorbet::ConstantsFromStrings::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
288
+
270
289
  # Checks for blank lines after signatures.
271
290
  #
272
- # It also suggests an autocorrect
273
- #
274
291
  # @example
275
- #
276
292
  # # bad
277
293
  # sig { void }
278
294
  #
@@ -282,22 +298,30 @@ end
282
298
  # sig { void }
283
299
  # def foo; end
284
300
  #
285
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb#23
286
- class RuboCop::Cop::Sorbet::EmptyLineAfterSig < ::RuboCop::Cop::Sorbet::SignatureCop
301
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb#17
302
+ class RuboCop::Cop::Sorbet::EmptyLineAfterSig < ::RuboCop::Cop::Base
287
303
  include ::RuboCop::Cop::RangeHelp
304
+ include ::RuboCop::Cop::Sorbet::SignatureHelp
305
+ extend ::RuboCop::Cop::AutoCorrector
288
306
 
289
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb#33
290
- def autocorrect(node); end
307
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb#34
308
+ def on_signature(sig); end
291
309
 
292
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb#26
293
- def on_signature(node); end
310
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb#25
311
+ def sig_or_signable_method_definition?(param0 = T.unsafe(nil)); end
294
312
 
295
313
  private
296
314
 
297
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb#48
298
- def next_method(node); end
315
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb#57
316
+ def lines_between(node1, node2, buffer: T.unsafe(nil)); end
317
+
318
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb#53
319
+ def next_sibling(node); end
299
320
  end
300
321
 
322
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb#22
323
+ RuboCop::Cop::Sorbet::EmptyLineAfterSig::MSG = T.let(T.unsafe(nil), String)
324
+
301
325
  # Checks that the Sorbet sigil comes as the first magic comment in the file.
302
326
  #
303
327
  # The expected order for magic comments is: (en)?coding, typed, warn_indent then frozen_string_literal.
@@ -375,8 +399,10 @@ RuboCop::Cop::Sorbet::EnforceSigilOrder::PREFERRED_ORDER = T.let(T.unsafe(nil),
375
399
  # * `ParameterTypePlaceholder`: placeholders used for parameter types (default: 'T.untyped')
376
400
  # * `ReturnTypePlaceholder`: placeholders used for return types (default: 'T.untyped')
377
401
  #
378
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#29
379
- class RuboCop::Cop::Sorbet::EnforceSignatures < ::RuboCop::Cop::Sorbet::SignatureCop
402
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#27
403
+ class RuboCop::Cop::Sorbet::EnforceSignatures < ::RuboCop::Cop::Cop
404
+ include ::RuboCop::Cop::Sorbet::SignatureHelp
405
+
380
406
  # @return [EnforceSignatures] a new instance of EnforceSignatures
381
407
  #
382
408
  # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#30
@@ -498,6 +524,42 @@ class RuboCop::Cop::Sorbet::FalseSigil < ::RuboCop::Cop::Sorbet::HasSigil
498
524
  def minimum_strictness; end
499
525
  end
500
526
 
527
+ # Disallow including the `Comparable` module in `T::Enum`.
528
+ #
529
+ # @example
530
+ #
531
+ # # bad
532
+ # class Priority < T::Enum
533
+ # include Comparable
534
+ #
535
+ # enums do
536
+ # High = new(3)
537
+ # Medium = new(2)
538
+ # Low = new(1)
539
+ # end
540
+ #
541
+ # def <=>(other)
542
+ # serialize <=> other.serialize
543
+ # end
544
+ # end
545
+ #
546
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/forbid_comparable_t_enum.rb#24
547
+ class RuboCop::Cop::Sorbet::ForbidComparableTEnum < ::RuboCop::Cop::Base
548
+ include ::RuboCop::Cop::Sorbet::TEnum
549
+
550
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/forbid_comparable_t_enum.rb#32
551
+ def mix_in_comparable?(param0 = T.unsafe(nil)); end
552
+
553
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/forbid_comparable_t_enum.rb#36
554
+ def on_send(node); end
555
+ end
556
+
557
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/forbid_comparable_t_enum.rb#27
558
+ RuboCop::Cop::Sorbet::ForbidComparableTEnum::MSG = T.let(T.unsafe(nil), String)
559
+
560
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/forbid_comparable_t_enum.rb#29
561
+ RuboCop::Cop::Sorbet::ForbidComparableTEnum::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
562
+
501
563
  # Ensures RBI shims do not include a call to extend T::Sig
502
564
  # or to extend T::Helpers
503
565
  #
@@ -558,37 +620,36 @@ RuboCop::Cop::Sorbet::ForbidExtendTSigHelpersInShims::RESTRICT_ON_SEND = T.let(T
558
620
  # ```
559
621
  #
560
622
  # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#29
561
- class RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral < ::RuboCop::Cop::Cop
562
- # @return [ForbidIncludeConstLiteral] a new instance of ForbidIncludeConstLiteral
563
- #
564
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#41
565
- def initialize(*_arg0); end
566
-
567
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#60
568
- def autocorrect(node); end
623
+ class RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral < ::RuboCop::Cop::Base
624
+ extend ::RuboCop::Cop::AutoCorrector
569
625
 
570
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#35
571
- def not_lit_const_include?(param0 = T.unsafe(nil)); end
626
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#36
627
+ def dynamic_inclusion?(param0 = T.unsafe(nil)); end
572
628
 
573
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#46
629
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#40
574
630
  def on_send(node); end
575
631
 
576
- # Returns the value of attribute used_names.
632
+ private
633
+
634
+ # @return [Boolean]
577
635
  #
578
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#32
579
- def used_names; end
636
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#52
637
+ def neither_const_nor_self?(node); end
580
638
 
581
- # Sets the attribute used_names
639
+ # Returns true if the node is within a module declaration that is not anonymous.
582
640
  #
583
- # @param value the value to set the attribute used_names to.
641
+ # @return [Boolean]
584
642
  #
585
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#32
586
- def used_names=(_arg0); end
643
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#57
644
+ def within_onymous_module?(node); end
587
645
  end
588
646
 
589
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#30
647
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#32
590
648
  RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral::MSG = T.let(T.unsafe(nil), String)
591
649
 
650
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#33
651
+ RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
652
+
592
653
  # Makes sure that RBI files are always located under the defined allowed paths.
593
654
  #
594
655
  # Options:
@@ -687,26 +748,26 @@ class RuboCop::Cop::Sorbet::ForbidTStruct < ::RuboCop::Cop::Base
687
748
  include ::RuboCop::Cop::CommentsHelp
688
749
  extend ::RuboCop::Cop::AutoCorrector
689
750
 
690
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#155
751
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#169
691
752
  def on_class(node); end
692
753
 
693
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#196
754
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#210
694
755
  def on_send(node); end
695
756
 
696
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#153
757
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#167
697
758
  def t_props?(param0 = T.unsafe(nil)); end
698
759
 
699
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#148
760
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#162
700
761
  def t_struct?(param0 = T.unsafe(nil)); end
701
762
 
702
763
  private
703
764
 
704
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#204
765
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#218
705
766
  def initialize_method(indent, props); end
706
767
 
707
768
  # @return [Boolean]
708
769
  #
709
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#217
770
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#258
710
771
  def previous_line_blank?(node); end
711
772
  end
712
773
 
@@ -739,7 +800,7 @@ class RuboCop::Cop::Sorbet::ForbidTStruct::Property
739
800
  # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#105
740
801
  def factory; end
741
802
 
742
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#139
803
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#144
743
804
  def initialize_assign; end
744
805
 
745
806
  # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#131
@@ -758,14 +819,17 @@ class RuboCop::Cop::Sorbet::ForbidTStruct::Property
758
819
  # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#105
759
820
  def name; end
760
821
 
822
+ # @return [Boolean]
823
+ #
824
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#151
825
+ def nilable?; end
826
+
761
827
  # Returns the value of attribute node.
762
828
  #
763
829
  # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#105
764
830
  def node; end
765
831
 
766
- # Returns the value of attribute type.
767
- #
768
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#105
832
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#155
769
833
  def type; end
770
834
  end
771
835
 
@@ -857,6 +921,38 @@ RuboCop::Cop::Sorbet::ForbidTUntyped::MSG = T.let(T.unsafe(nil), String)
857
921
  # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_untyped.rb#22
858
922
  RuboCop::Cop::Sorbet::ForbidTUntyped::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
859
923
 
924
+ # Disallows defining type aliases that contain shapes
925
+ #
926
+ # @example
927
+ #
928
+ # # bad
929
+ # Foo = T.type_alias { { foo: Integer } }
930
+ #
931
+ # # good
932
+ # class Foo
933
+ # extend T::Sig
934
+ #
935
+ # sig { params(foo: Integer).void }
936
+ # def initialize(foo)
937
+ # @foo = foo
938
+ # end
939
+ # end
940
+ #
941
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb#24
942
+ class RuboCop::Cop::Sorbet::ForbidTypeAliasedShapes < ::RuboCop::Cop::Base
943
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb#36
944
+ def on_block(node); end
945
+
946
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb#36
947
+ def on_numblock(node); end
948
+
949
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb#28
950
+ def shape_type_alias?(param0 = T.unsafe(nil)); end
951
+ end
952
+
953
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb#25
954
+ RuboCop::Cop::Sorbet::ForbidTypeAliasedShapes::MSG = T.let(T.unsafe(nil), String)
955
+
860
956
  # Disallows use of `T.untyped` or `T.nilable(T.untyped)`
861
957
  # as a prop type for `T::Struct` or `T::ImmutableStruct`.
862
958
  #
@@ -987,17 +1083,55 @@ RuboCop::Cop::Sorbet::ImplicitConversionMethod::RESTRICT_ON_SEND = T.let(T.unsaf
987
1083
  # sig { params(b: String, a: Integer).void }
988
1084
  # def foo(b:, a: 1); end
989
1085
  #
990
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/keyword_argument_ordering.rb#23
991
- class RuboCop::Cop::Sorbet::KeywordArgumentOrdering < ::RuboCop::Cop::Sorbet::SignatureCop
992
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/keyword_argument_ordering.rb#24
1086
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/keyword_argument_ordering.rb#20
1087
+ class RuboCop::Cop::Sorbet::KeywordArgumentOrdering < ::RuboCop::Cop::Cop
1088
+ include ::RuboCop::Cop::Sorbet::SignatureHelp
1089
+
1090
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/keyword_argument_ordering.rb#23
993
1091
  def on_signature(node); end
994
1092
 
995
1093
  private
996
1094
 
997
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/keyword_argument_ordering.rb#35
1095
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/keyword_argument_ordering.rb#34
998
1096
  def check_order_for_kwoptargs(parameters); end
999
1097
  end
1000
1098
 
1099
+ # Disallow creating a `T::Enum` with less than two values.
1100
+ #
1101
+ # @example
1102
+ #
1103
+ # # bad
1104
+ # class ErrorMessages < T::Enum
1105
+ # enums do
1106
+ # ServerError = new("There was a server error.")
1107
+ # end
1108
+ # end
1109
+ #
1110
+ # # good
1111
+ # class ErrorMessages < T::Enum
1112
+ # enums do
1113
+ # ServerError = new("There was a server error.")
1114
+ # NotFound = new("The resource was not found.")
1115
+ # end
1116
+ # end
1117
+ #
1118
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/multiple_t_enum_values.rb#24
1119
+ class RuboCop::Cop::Sorbet::MultipleTEnumValues < ::RuboCop::Cop::Base
1120
+ include ::RuboCop::Cop::Sorbet::TEnum
1121
+
1122
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/multiple_t_enum_values.rb#30
1123
+ def enums_block?(param0 = T.unsafe(nil)); end
1124
+
1125
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/multiple_t_enum_values.rb#40
1126
+ def on_block(node); end
1127
+
1128
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/multiple_t_enum_values.rb#34
1129
+ def on_class(node); end
1130
+ end
1131
+
1132
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/multiple_t_enum_values.rb#27
1133
+ RuboCop::Cop::Sorbet::MultipleTEnumValues::MSG = T.let(T.unsafe(nil), String)
1134
+
1001
1135
  # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#8
1002
1136
  module RuboCop::Cop::Sorbet::MutableConstantSorbetAwareBehaviour
1003
1137
  # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#18
@@ -1062,54 +1196,6 @@ end
1062
1196
  # source://rubocop-sorbet//lib/rubocop/cop/sorbet/obsolete_strict_memoization.rb#47
1063
1197
  RuboCop::Cop::Sorbet::ObsoleteStrictMemoization::MSG = T.let(T.unsafe(nil), String)
1064
1198
 
1065
- # Ensures one ancestor per requires_ancestor line
1066
- # rather than chaining them as a comma-separated list.
1067
- #
1068
- # @example
1069
- #
1070
- # # bad
1071
- # module SomeModule
1072
- # requires_ancestor Kernel, Minitest::Assertions
1073
- # end
1074
- #
1075
- # # good
1076
- # module SomeModule
1077
- # requires_ancestor Kernel
1078
- # requires_ancestor Minitest::Assertions
1079
- # end
1080
- #
1081
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/one_ancestor_per_line.rb#24
1082
- class RuboCop::Cop::Sorbet::OneAncestorPerLine < ::RuboCop::Cop::Cop
1083
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/one_ancestor_per_line.rb#38
1084
- def abstract?(param0); end
1085
-
1086
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/one_ancestor_per_line.rb#56
1087
- def autocorrect(node); end
1088
-
1089
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/one_ancestor_per_line.rb#33
1090
- def more_than_one_ancestor(param0 = T.unsafe(nil)); end
1091
-
1092
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/one_ancestor_per_line.rb#49
1093
- def on_class(node); end
1094
-
1095
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/one_ancestor_per_line.rb#42
1096
- def on_module(node); end
1097
-
1098
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/one_ancestor_per_line.rb#28
1099
- def requires_ancestors(param0); end
1100
-
1101
- private
1102
-
1103
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/one_ancestor_per_line.rb#72
1104
- def new_ra_line(indent_count); end
1105
-
1106
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/one_ancestor_per_line.rb#66
1107
- def process_node(node); end
1108
- end
1109
-
1110
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/one_ancestor_per_line.rb#25
1111
- RuboCop::Cop::Sorbet::OneAncestorPerLine::MSG = T.let(T.unsafe(nil), String)
1112
-
1113
1199
  # Forbids the use of redundant `extend T::Sig`. Only for use in
1114
1200
  # applications that monkey patch `Module.include(T::Sig)` globally,
1115
1201
  # which would make it redundant.
@@ -1146,66 +1232,72 @@ RuboCop::Cop::Sorbet::RedundantExtendTSig::MSG = T.let(T.unsafe(nil), String)
1146
1232
  # source://rubocop-sorbet//lib/rubocop/cop/sorbet/redundant_extend_t_sig.rb#33
1147
1233
  RuboCop::Cop::Sorbet::RedundantExtendTSig::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
1148
1234
 
1149
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#15
1150
- class RuboCop::Cop::Sorbet::SignatureBuildOrder < ::RuboCop::Cop::Sorbet::SignatureCop
1151
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#59
1152
- def autocorrect(node); end
1235
+ # Checks for the correct order of `sig` builder methods.
1236
+ #
1237
+ # Options:
1238
+ #
1239
+ # * `Order`: The order in which to enforce the builder methods are called.
1240
+ #
1241
+ # @example
1242
+ # # bad
1243
+ # sig { void.abstract }
1244
+ #
1245
+ # # good
1246
+ # sig { abstract.void }
1247
+ #
1248
+ # # bad
1249
+ # sig { returns(Integer).params(x: Integer) }
1250
+ #
1251
+ # # good
1252
+ # sig { params(x: Integer).returns(Integer) }
1253
+ #
1254
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#24
1255
+ class RuboCop::Cop::Sorbet::SignatureBuildOrder < ::RuboCop::Cop::Base
1256
+ include ::RuboCop::Cop::Sorbet::SignatureHelp
1257
+ extend ::RuboCop::Cop::AutoCorrector
1153
1258
 
1154
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#35
1259
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#33
1155
1260
  def on_signature(node); end
1156
1261
 
1157
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#31
1262
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#29
1158
1263
  def root_call(param0); end
1159
1264
 
1160
1265
  private
1161
1266
 
1162
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#101
1163
- def call_chain(sig_child_node); end
1267
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#96
1268
+ def builder_method_indexes; end
1164
1269
 
1165
- # @return [Boolean]
1270
+ # Split foo.bar.baz into [foo, foo.bar, foo.bar.baz]
1166
1271
  #
1167
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#97
1168
- def can_autocorrect?; end
1272
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#83
1273
+ def call_chain(node); end
1169
1274
 
1170
- # This method exists to reparse the current node with modern features enabled.
1171
- # Modern features include "index send" emitting, which is necessary to unparse
1172
- # "index sends" (i.e. `[]` calls) back to index accessors (i.e. as `foo[bar]``).
1173
- # Otherwise, we would get the unparsed node as `foo.[](bar)`.
1174
- #
1175
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#88
1176
- def node_reparsed_with_modern_features(node); end
1275
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#70
1276
+ def expected_source(expected_calls_and_indexes); end
1177
1277
  end
1178
1278
 
1179
- # Create a subclass of AST Builder that has modern features turned on
1279
+ # Mixin for writing cops for signatures, providing a `signature?` node matcher and an `on_signature` trigger.
1180
1280
  #
1181
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#77
1182
- class RuboCop::Cop::Sorbet::SignatureBuildOrder::ModernBuilder < ::RuboCop::AST::Builder; end
1183
-
1184
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#16
1185
- RuboCop::Cop::Sorbet::SignatureBuildOrder::ORDER = T.let(T.unsafe(nil), Hash)
1281
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#7
1282
+ module RuboCop::Cop::Sorbet::SignatureHelp
1283
+ extend ::RuboCop::AST::NodePattern::Macros
1186
1284
 
1187
- # Abstract cop specific to Sorbet signatures
1188
- #
1189
- # You can subclass it to use the `on_signature` trigger and the `signature?` node matcher.
1190
- #
1191
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_cop.rb#11
1192
- class RuboCop::Cop::Sorbet::SignatureCop < ::RuboCop::Cop::Cop
1193
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_cop.rb#33
1285
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#29
1194
1286
  def on_block(node); end
1195
1287
 
1196
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_cop.rb#33
1288
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#29
1197
1289
  def on_numblock(node); end
1198
1290
 
1199
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_cop.rb#39
1200
- def on_signature(_); end
1291
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#35
1292
+ def on_signature(_node); end
1201
1293
 
1202
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_cop.rb#15
1294
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#11
1203
1295
  def signature?(param0 = T.unsafe(nil)); end
1204
1296
 
1205
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_cop.rb#24
1297
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#20
1206
1298
  def with_runtime?(param0 = T.unsafe(nil)); end
1207
1299
 
1208
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_cop.rb#29
1300
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#25
1209
1301
  def without_runtime?(param0 = T.unsafe(nil)); end
1210
1302
  end
1211
1303
 
@@ -1256,6 +1348,32 @@ class RuboCop::Cop::Sorbet::StrongSigil < ::RuboCop::Cop::Sorbet::HasSigil
1256
1348
  def minimum_strictness; end
1257
1349
  end
1258
1350
 
1351
+ # Mixing for writing cops that deal with `T::Enum`s
1352
+ #
1353
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/t_enum.rb#7
1354
+ module RuboCop::Cop::Sorbet::TEnum
1355
+ extend ::RuboCop::AST::NodePattern::Macros
1356
+
1357
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/t_enum.rb#9
1358
+ def initialize(*_arg0); end
1359
+
1360
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/t_enum.rb#23
1361
+ def after_class(node); end
1362
+
1363
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/t_enum.rb#19
1364
+ def on_class(node); end
1365
+
1366
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/t_enum.rb#15
1367
+ def t_enum?(param0 = T.unsafe(nil)); end
1368
+
1369
+ private
1370
+
1371
+ # @return [Boolean]
1372
+ #
1373
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/t_enum.rb#29
1374
+ def in_t_enum_class?; end
1375
+ end
1376
+
1259
1377
  # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb#6
1260
1378
  module RuboCop::Cop::Sorbet::TargetSorbetVersion
1261
1379
  mixes_in_class_methods ::RuboCop::Cop::Sorbet::TargetSorbetVersion::ClassMethods
@@ -1342,7 +1460,7 @@ RuboCop::Cop::Sorbet::TypeAliasName::MSG = T.let(T.unsafe(nil), String)
1342
1460
  #
1343
1461
  # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#20
1344
1462
  class RuboCop::Cop::Sorbet::ValidSigil < ::RuboCop::Cop::Cop
1345
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#35
1463
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#36
1346
1464
  def autocorrect(_node); end
1347
1465
 
1348
1466
  # So we can properly subclass this cop
@@ -1354,58 +1472,105 @@ class RuboCop::Cop::Sorbet::ValidSigil < ::RuboCop::Cop::Cop
1354
1472
 
1355
1473
  # checks
1356
1474
  #
1357
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#70
1475
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#71
1358
1476
  def check_sigil_present(sigil); end
1359
1477
 
1360
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#130
1478
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#131
1361
1479
  def check_strictness_level(sigil, strictness); end
1362
1480
 
1363
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#108
1481
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#109
1364
1482
  def check_strictness_not_empty(sigil, strictness); end
1365
1483
 
1366
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#119
1484
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#120
1367
1485
  def check_strictness_valid(sigil, strictness); end
1368
1486
 
1369
1487
  # Default is `nil`
1370
1488
  #
1371
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#180
1489
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#181
1372
1490
  def exact_strictness; end
1373
1491
 
1374
1492
  # extraction
1375
1493
  #
1376
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#58
1494
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#59
1377
1495
  def extract_sigil(processed_source); end
1378
1496
 
1379
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#64
1497
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#65
1380
1498
  def extract_strictness(sigil); end
1381
1499
 
1382
1500
  # Default is `nil`
1383
1501
  #
1384
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#174
1502
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#175
1385
1503
  def minimum_strictness; end
1386
1504
 
1387
1505
  # Default is `false`
1388
1506
  #
1389
1507
  # @return [Boolean]
1390
1508
  #
1391
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#163
1509
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#164
1392
1510
  def require_sigil_on_all_files?; end
1393
1511
 
1394
1512
  # Default is `'false'`
1395
1513
  #
1396
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#168
1514
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#169
1397
1515
  def suggested_strictness; end
1398
1516
 
1399
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#86
1517
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#87
1400
1518
  def suggested_strictness_level; end
1401
1519
  end
1402
1520
 
1403
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#54
1521
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#55
1404
1522
  RuboCop::Cop::Sorbet::ValidSigil::SIGIL_REGEX = T.let(T.unsafe(nil), Regexp)
1405
1523
 
1406
- # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#53
1524
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#54
1407
1525
  RuboCop::Cop::Sorbet::ValidSigil::STRICTNESS_LEVELS = T.let(T.unsafe(nil), Array)
1408
1526
 
1527
+ # Disallows the usage of `.void.checked(:tests)`.
1528
+ #
1529
+ # Using `.void` changes the value returned from the method, but only if
1530
+ # runtime type checking is enabled for the method. Methods marked `.void`
1531
+ # will return different values in tests compared with non-test
1532
+ # environments. This is particularly troublesome if branching on the
1533
+ # result of a `.void` method, because the returned value in test code
1534
+ # will be the truthy `VOID` value, while the non-test return value may be
1535
+ # falsy depending on the method's implementation.
1536
+ #
1537
+ # - Use `.returns(T.anything).checked(:tests)` to keep the runtime type
1538
+ # checking for the rest of the parameters.
1539
+ # - Use `.void.checked(:never)` if you are on an older version of Sorbet
1540
+ # which does not have `T.anything` (meaning versions 0.5.10781 or
1541
+ # earlier. Versions released after 2023-04-14 include `T.anything`.)
1542
+ #
1543
+ # @example
1544
+ #
1545
+ # # bad
1546
+ # sig { void.checked(:tests) }
1547
+ #
1548
+ # # good
1549
+ # sig { void }
1550
+ # sig { returns(T.anything).checked(:tests) }
1551
+ # sig { void.checked(:never) }
1552
+ #
1553
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/void_checked_tests.rb#31
1554
+ class RuboCop::Cop::Sorbet::VoidCheckedTests < ::RuboCop::Cop::Base
1555
+ include ::RuboCop::Cop::RangeHelp
1556
+ include ::RuboCop::Cop::Sorbet::SignatureHelp
1557
+ extend ::RuboCop::Cop::AutoCorrector
1558
+
1559
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/void_checked_tests.rb#37
1560
+ def checked_tests(param0); end
1561
+
1562
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/void_checked_tests.rb#58
1563
+ def on_signature(node); end
1564
+
1565
+ private
1566
+
1567
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/void_checked_tests.rb#48
1568
+ def top_level_void(node); end
1569
+ end
1570
+
1571
+ # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/void_checked_tests.rb#41
1572
+ RuboCop::Cop::Sorbet::VoidCheckedTests::MESSAGE = T.let(T.unsafe(nil), String)
1573
+
1409
1574
  module RuboCop::Cop::Style; end
1410
1575
 
1411
1576
  class RuboCop::Cop::Style::MutableConstant < ::RuboCop::Cop::Base