From 893634fcbc9e05ee0d0cd8d4da73295cdd34bb61 Mon Sep 17 00:00:00 2001 From: Boris Nikolic Date: Thu, 5 Dec 2024 19:07:10 +0100 Subject: [PATCH] Fix Swiftlint warning --- Debug App/Podfile.lock | 8 ++++---- .../Text Fields/PrimerCustomTextField.swift | 2 ++ .../Services/InternalCardComponentManagerTests.swift | 1 + 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Debug App/Podfile.lock b/Debug App/Podfile.lock index 0cda4472ee..b2de1949fb 100644 --- a/Debug App/Podfile.lock +++ b/Debug App/Podfile.lock @@ -4,9 +4,9 @@ PODS: - PrimerIPay88MYSDK (0.1.7) - PrimerKlarnaSDK (1.1.1) - PrimerNolPaySDK (1.0.1) - - PrimerSDK (2.32.0): - - PrimerSDK/Core (= 2.32.0) - - PrimerSDK/Core (2.32.0) + - PrimerSDK (2.32.1): + - PrimerSDK/Core (= 2.32.1) + - PrimerSDK/Core (2.32.1) - PrimerStripeSDK (1.0.0) DEPENDENCIES: @@ -37,7 +37,7 @@ SPEC CHECKSUMS: PrimerIPay88MYSDK: 436ee0be7e2c97e4e81456ccddee20175e9e3c4d PrimerKlarnaSDK: 564105170cc7b467bf95c31851813ea41c468f8b PrimerNolPaySDK: 08b140ed39b378a0b33b4f8746544a402175c0cc - PrimerSDK: db06e6553747bdadf8a8ca276d556745af38bba3 + PrimerSDK: 41eb9f627fa189f3edafdb18ea2a671d4403b3e2 PrimerStripeSDK: c37d4e7c1b5256d67d4890c4cc4b38ddc9427489 PODFILE CHECKSUM: fa17ead44d40b0b09abc2f30a5cc3d8aefe389e1 diff --git a/Sources/PrimerSDK/Classes/PCI/User Interface/Text Fields/PrimerCustomTextField.swift b/Sources/PrimerSDK/Classes/PCI/User Interface/Text Fields/PrimerCustomTextField.swift index 80f96534db..90611bfac8 100644 --- a/Sources/PrimerSDK/Classes/PCI/User Interface/Text Fields/PrimerCustomTextField.swift +++ b/Sources/PrimerSDK/Classes/PCI/User Interface/Text Fields/PrimerCustomTextField.swift @@ -7,6 +7,7 @@ import UIKit +// swiftlint:disable type_body_length class PrimerCustomFieldView: UIView { // MARK: - Properties @@ -388,3 +389,4 @@ class PrimerCustomFieldView: UIView { } } } +// swiftlint:enable type_body_length diff --git a/Tests/Primer/Services/InternalCardComponentManagerTests.swift b/Tests/Primer/Services/InternalCardComponentManagerTests.swift index 0e0f0c8981..1ba650ca76 100644 --- a/Tests/Primer/Services/InternalCardComponentManagerTests.swift +++ b/Tests/Primer/Services/InternalCardComponentManagerTests.swift @@ -137,6 +137,7 @@ class InternalCardComponentManagerTests: XCTestCase { } class MockCardComponentsManager: InternalCardComponentsManagerProtocol { + var selectedCardNetwork: PrimerSDK.CardNetwork? var cardnumberField: PrimerCardNumberFieldView