Skip to content

Commit 0203b2f

Browse files
committed
🚧 TO REVERT: Introduce violations on purpose
1 parent 55fa528 commit 0203b2f

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

‎Modules/Sources/Hardware/CardReader/CardBrand.swift‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
import Codegen
22
import Foundation
33

4+
struct SomeMoreUnusedCode {
5+
let name: String
6+
let age: Int
7+
}
8+
49
/// The various card brands for a card.
510
@frozen public enum CardBrand: String, CaseIterable, Codable, GeneratedFakeable {
611
/// Visa card

‎WooCommerce/Classes/Authentication/AuthenticationConstants.swift‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import Foundation
22

33
struct AuthenticationConstants {
4+
static let someUnusedConstant = "someUnusedConstant"
5+
46
// MARK: - WordPress Authenticator display text customizations
57
//
68

‎WooCommerce/Classes/Authentication/AuthenticationManager.swift‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ import struct Experiments.CachedABTestVariationProvider
2222
class AuthenticationManager: Authentication {
2323
var displayAuthenticatorIfLoggedOut: (() -> UINavigationController?)?
2424

25+
private var someUnusedProperty: String = "someUnusedProperty"
26+
2527
/// Store Picker Coordinator
2628
///
2729
private var storePickerCoordinator: StorePickerCoordinator?

‎WooCommerce/Classes/ViewModels/ProductDetailsCellViewModel.swift‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import Foundation
22
import Yosemite
33
import WooFoundation
44

5+
struct UnusedTypeHere {
6+
let prop: String
7+
}
58

69
// MARK: - View Model for a product details cell
710
//

0 commit comments

Comments
 (0)