Add Swift 6.0 to unit tests #539
Annotations
10 errors
SwiftLint:
Sources/NostrSDK/NIP44v2Encrypting.swift#L157
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
|
SwiftLint:
Sources/NostrSDK/WebSocket.swift#L83
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
|
SwiftLint:
Sources/NostrSDK/LegacyDirectMessageEncrypting.swift#L84
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
|
SwiftLint:
Sources/NostrSDK/EventSerializer.swift#L34
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
|
SwiftLint:
Sources/NostrSDK/EventSerializer.swift#L41
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
|
SwiftLint:
Sources/NostrSDK/Events/GenericRepostEvent.swift#L83
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
|
SwiftLint:
Sources/NostrSDK/Events/MuteListEvent.swift#L112
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
|
SwiftLint:
Sources/NostrSDK/Events/GiftWrap/GiftWrapEvent.swift#L122
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
|
SwiftLint:
Sources/NostrSDK/Events/GiftWrap/SealEvent.swift#L99
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
|
SwiftLint:
Sources/NostrSDK/Events/BookmarksListEvent.swift#L153
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
|