Skip to content

Commit 64b4559

Browse files
committed
style: Standardize file headers in CheckoutComponents
Replace custom headers with standard Primer SDK copyright format in 5 internal CheckoutComponents files to pass CI linting checks. Files updated: - PrimerLayout.swift - MockCardFormScope.swift - MockDIContainer.swift - MockDesignTokens.swift - MockValidationService.swift
1 parent d92af3e commit 64b4559

File tree

5 files changed

+10
-15
lines changed

5 files changed

+10
-15
lines changed

Sources/PrimerSDK/Classes/CheckoutComponents/Internal/UI/Design/PrimerLayout.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//
22
// PrimerLayout.swift
3-
// PrimerSDK - CheckoutComponents
4-
//
5-
// Layout utilities for sizes, spacing, and radii
63
//
4+
// Copyright © 2025 Primer API Ltd. All rights reserved.
5+
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
76

87
import CoreGraphics
98

Sources/PrimerSDK/Classes/CheckoutComponents/Internal/Utilities/MockCardFormScope.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//
22
// MockCardFormScope.swift
3-
// PrimerSDK - CheckoutComponents
4-
//
5-
// Created for SwiftUI Preview support
63
//
4+
// Copyright © 2025 Primer API Ltd. All rights reserved.
5+
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
76

87
#if DEBUG
98
import SwiftUI

Sources/PrimerSDK/Classes/CheckoutComponents/Internal/Utilities/MockDIContainer.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//
22
// MockDIContainer.swift
3-
// PrimerSDK - CheckoutComponents
4-
//
5-
// Created for SwiftUI Preview support
63
//
4+
// Copyright © 2025 Primer API Ltd. All rights reserved.
5+
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
76

87
#if DEBUG
98
import SwiftUI

Sources/PrimerSDK/Classes/CheckoutComponents/Internal/Utilities/MockDesignTokens.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//
22
// MockDesignTokens.swift
3-
// PrimerSDK - CheckoutComponents
4-
//
5-
// Created for SwiftUI Preview and testing support
63
//
4+
// Copyright © 2025 Primer API Ltd. All rights reserved.
5+
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
76

87
#if DEBUG
98
import SwiftUI

Sources/PrimerSDK/Classes/CheckoutComponents/Internal/Utilities/MockValidationService.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//
22
// MockValidationService.swift
3-
// PrimerSDK - CheckoutComponents
4-
//
5-
// Created for SwiftUI Preview support
63
//
4+
// Copyright © 2025 Primer API Ltd. All rights reserved.
5+
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
76

87
#if DEBUG
98
import SwiftUI

0 commit comments

Comments
 (0)