diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 6d4478af74f..13a47e01838 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2024-06-03 05:57:29 UTC using RuboCop version 1.64.1. +# on 2024-09-11 21:07:26 UTC using RuboCop version 1.65.0. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -22,7 +22,7 @@ Layout/FirstArgumentIndentation: Exclude: - 'test/remote/gateways/remote_litle_test.rb' -# Offense count: 63 +# Offense count: 68 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowMultilineFinalElement. Layout/FirstArrayElementLineBreak: @@ -34,7 +34,7 @@ Layout/FirstArrayElementLineBreak: Layout/FirstHashElementLineBreak: Enabled: false -# Offense count: 1302 +# Offense count: 1320 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle. # SupportedHashRocketStyles: key, separator, table @@ -49,7 +49,7 @@ Layout/HashAlignment: Layout/LeadingCommentSpace: Enabled: false -# Offense count: 7281 +# Offense count: 7463 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. # URISchemes: http, https @@ -91,7 +91,7 @@ Layout/SpaceBeforeFirstArg: Exclude: - 'test/unit/gateways/bogus_test.rb' -# Offense count: 9 +# Offense count: 10 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. # SupportedStyles: space, no_space, compact @@ -103,6 +103,7 @@ Layout/SpaceInsideHashLiteralBraces: - 'lib/active_merchant/billing/gateways/tsys_multipass.rb' - 'test/remote/gateways/remote_litle_test.rb' - 'test/remote/gateways/remote_simetrik_test.rb' + - 'test/remote/gateways/remote_worldpay_test.rb' - 'test/unit/gateways/fat_zebra_test.rb' - 'test/unit/gateways/stripe_test.rb' @@ -113,7 +114,7 @@ Layout/TrailingWhitespace: Exclude: - 'lib/active_merchant/billing/gateways/tsys_multipass.rb' -# Offense count: 355 +# Offense count: 362 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: AllowSafeAssignment. Lint/AssignmentInCondition: @@ -137,7 +138,13 @@ Lint/FormatParameterMismatch: Exclude: - 'test/unit/credit_card_formatting_test.rb' -# Offense count: 26 +# Offense count: 1 +# This cop supports safe autocorrection (--autocorrect). +Lint/RedundantCopDisableDirective: + Exclude: + - 'lib/active_merchant/billing/gateways/mercury.rb' + +# Offense count: 25 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: AllowedMethods. # AllowedMethods: instance_of?, kind_of?, is_a?, eql?, respond_to?, equal? @@ -201,7 +208,7 @@ Style/CaseLikeIf: - 'lib/active_merchant/billing/gateways/stripe.rb' - 'lib/active_merchant/billing/gateways/vantiv_express.rb' -# Offense count: 45 +# Offense count: 44 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: is_a?, kind_of? @@ -262,7 +269,7 @@ Style/HashLikeCase: - 'lib/active_merchant/billing/gateways/trust_commerce.rb' - 'lib/active_merchant/billing/gateways/worldpay.rb' -# Offense count: 77 +# Offense count: 75 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowedMethods, AllowedPatterns. Style/MethodCallWithoutArgsParentheses: @@ -300,7 +307,7 @@ Style/MultilineTernaryOperator: - 'lib/active_merchant/billing/gateways/swipe_checkout.rb' - 'lib/active_merchant/billing/gateways/transact_pro.rb' -# Offense count: 648 +# Offense count: 650 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: literals, strict @@ -373,7 +380,7 @@ Style/OrAssignment: Exclude: - 'lib/active_merchant/billing/gateways/net_registry.rb' -# Offense count: 1759 +# Offense count: 1801 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: @@ -395,19 +402,19 @@ Style/PerlBackrefs: Style/PreferredHashMethods: Enabled: false -# Offense count: 58 +# Offense count: 60 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle, AllowedCompactTypes. # SupportedStyles: compact, exploded Style/RaiseArgs: Enabled: false -# Offense count: 97 +# Offense count: 98 # This cop supports safe autocorrection (--autocorrect). Style/RedundantParentheses: Enabled: false -# Offense count: 1397 +# Offense count: 1574 # This cop supports safe autocorrection (--autocorrect). Style/RedundantRegexpEscape: Enabled: false @@ -457,7 +464,7 @@ Style/Semicolon: - 'test/unit/gateways/cardknox_test.rb' - 'test/unit/gateways/omise_test.rb' -# Offense count: 56 +# Offense count: 58 # This cop supports unsafe autocorrection (--autocorrect-all). Style/SingleArgumentDig: Enabled: false @@ -469,7 +476,7 @@ Style/SingleLineMethods: Exclude: - 'test/unit/gateways/paypal/paypal_common_api_test.rb' -# Offense count: 57 +# Offense count: 60 # This cop supports unsafe autocorrection (--autocorrect-all). Style/SlicingWithRange: Enabled: false @@ -488,14 +495,14 @@ Style/SoleNestedConditional: Style/StringConcatenation: Enabled: false -# Offense count: 147 +# Offense count: 154 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyleForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma Style/TrailingCommaInArrayLiteral: Enabled: false -# Offense count: 3496 +# Offense count: 3648 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyleForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma