Cell capacity feature #318
39 warnings
| Report Summary | |
|---|---|
| Errors | 0 |
| Test Failures | 0 |
| Analysis Issues | 0 |
| Warnings | 39 |
Details
39 Warnings
Details
PresentationLayer/UIComponents/Screens/Onboarding/OnboardingViewModel.swift:15
Variable 'self' was written to, but never readWeatherXMTests/DomainLayer/UseCases/DeviceDetailsUseCaseTests.swift:47
Comparing non-optional value of type 'EmptyEntity' to 'nil' always returns truePresentationLayer/UIComponents/Screens/ClaimDevice/ClaimDeviceContainer/ClaimHeliumContainerViewModel.swift:205
Code after 'return' will never be executedPresentationLayer/UIComponents/Screens/PhotoVerification/GalleryView/GalleryViewModel.swift:263
'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'GalleryView.GalleryImage', consider removing itWeatherXMTests/DomainLayer/MockRepositories/MockUserDefaultsRepositoryImpl.swift:11
Non-final class 'MockUserDefaultsRepositoryImpl' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language modeWeatherXMTests/DomainLayer/MockRepositories/MockUserDefaultsRepositoryImpl.swift:12
Stored property 'userSensitiveDataCleared' of 'Sendable'-conforming class 'MockUserDefaultsRepositoryImpl' is mutable; this is an error in the Swift 6 language modePresentationLayer/UIComponents/BaseComponents/SelectLocationMap/SelectLocationMapViewModel.swift:139
'userInfo' is deprecated: Use customData instead.PresentationLayer/UIComponents/Screens/Explorer/ExplorerFactory.swift:74
'userInfo' is deprecated: Use customData instead.PresentationLayer/UIComponents/BaseComponents/SelectLocationMap/SelectLocationMapViewModel.swift:140
'userInfo' is deprecated: Use customData instead.PresentationLayer/UIComponents/BaseComponents/TrackableScrollView/TrackableScroller.swift:192
'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible.PresentationLayer/UIComponents/Screens/DeviceInfo/DeviceInfoViewModel.swift:190
Initialization of immutable value 'photosError' was never used; consider replacing with assignment to '_' or removing it'DataLayer' is missing a dependency on 'DGCharts' because dependency scan of Swift module 'DataLayer' discovered a dependency on 'DGCharts'PresentationLayer/UIComponents/MapBox/MapBoxMapView.swift:89
'userInfo' is deprecated: Use customData instead.PresentationLayer/UIComponents/Screens/ExplorerSignIn/RegisterView.swift:83
'animation' was deprecated in iOS 15.0: Use withAnimation or animation(_:value:) instead.'DomainLayer' is missing a dependency on 'DGCharts' because dependency scan of Swift module 'DomainLayer' discovered a dependency on 'DGCharts'WeatherXMTests/DomainLayer/UseCases/MainUseCaseTests.swift:103
Variable 'currentVersion' was never mutated; consider changing to 'let' constant'station-widgetExtension' is missing a dependency on 'DGCharts' because dependency scan of Swift module 'station_widgetExtension' discovered a dependency on 'DGCharts'WeatherXMTests/PresentationLayer/Navigation/DeepLinkHandlerTests.swift:145
Variable 'notificationresponse' was never mutated; consider changing to 'let' constant'station-intent' is missing a dependency on 'DGCharts' because dependency scan of Swift module 'station_intent' discovered a dependency on 'DGCharts'file:///Volumes/workspace/tmp/swift-generated-sources/@__swiftmacro_14WeatherXMTests0025MeUseCaseTestsswift_jqFBgfMX93_4_33_486F774C01BE9035673BBBC97953AD2ELl6expectfMf_.swift:1
No calls to throwing functions occur within 'try' expressionPresentationLayer/UIComponents/Screens/DeviceInfo/DeviceInfoFactory.swift:32
TODO: Format when info is readyPresentationLayer/UIComponents/Screens/PhotoVerification/GalleryView/GalleryViewModel.swift:259
'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type '[GalleryView.GalleryImage]', consider removing itWeatherXMTests/PresentationLayer/ViewModels/HistoryContainerViewModelTests.swift:21
Comparing non-optional value of type 'Date' to 'nil' always returns trueWeatherXMTests/PresentationLayer/ViewModels/ExplorerViewModelTests.swift:63
Comparing non-optional value of type 'GeoJSONSource' to 'nil' always returns trueWeatherXMTests/DataLayer/Services/UserDevicesServiceTests.swift:37
Comparing non-optional value of type 'NetworkDevicesResponse' to 'nil' always returns truePresentationLayer/UIComponents/BaseComponents/CustomSegmentView.swift:243
Initialization of immutable value 'extraPadding' was never used; consider replacing with assignment to '_' or removing itPresentationLayer/UIComponents/MapBox/MapBoxMapView.swift:90
'userInfo' is deprecated: Use customData instead.PresentationLayer/UIComponents/Screens/WeatherCharts/WeatherLineChart.swift:174
TBD: Since the y axis labels are hidden is this snippet necessaryWeatherXMTests/Toolkit/FoundationExtensionsTests.swift:65
Initialization of immutable value 'negativeIndex' was never used; consider replacing with assignment to '_' or removing itWeatherXMTests/DomainLayer/UseCases/MeUseCaseTests.swift:149
Comparing non-optional value of type 'EmptyEntity' to 'nil' always returns trueWeatherXMTests/DomainLayer/UseCases/DeviceDetailsUseCaseTests.swift:42
Comparing non-optional value of type 'EmptyEntity' to 'nil' always returns truePresentationLayer/UIComponents/Screens/ExplorerSignIn/SignInView.swift:82
'animation' was deprecated in iOS 15.0: Use withAnimation or animation(_:value:) instead.WeatherXMTests/PresentationLayer/Extensions/DomainExtensions/DeviceDetailsTests.swift:124
Variable 'device' was never mutated; consider changing to 'let' constantPresentationLayer/UIComponents/Screens/ClaimDevice/ClaimDeviceContainer/ClaimHeliumContainerViewModel.swift:227
Code after 'return' will never be executedWeatherXMTests/DomainLayer/UseCases/MeUseCaseTests.swift:154
Comparing non-optional value of type 'EmptyEntity' to 'nil' always returns truewxm-ios/Resources/Localizable/LocalizableString+Explorer.swift:22
Variable 'localized' was never mutated; consider changing to 'let' constantWeatherXMTests/PresentationLayer/ViewModels/HistoryContainerViewModelTests.swift:31
Comparing non-optional value of type 'Date' to 'nil' always returns truePresentationLayer/UIComponents/BaseComponents/StepsNavView.swift:227
Extension declares a conformance of imported type 'UINavigationController' to imported protocol 'UIGestureRecognizerDelegate'; this will not behave correctly if the owners of 'UIKit' introduce this conformance in the futurePresentationLayer/UIComponents/Screens/DeviceInfo/PhotoVerificationState/PhotoVerificationStateViewModel.swift:42
Value 'self' was defined but never used; consider replacing with boolean test
Annotations
xcode-cloud / WeatherXM | Unit tests | wxm-ios - iOS
PresentationLayer/UIComponents/BaseComponents/SelectLocationMap/SelectLocationMapViewModel.swift#L139
'userInfo' is deprecated: Use customData instead.
Check notice on line 74 in PresentationLayer/UIComponents/Screens/Explorer/ExplorerFactory.swift
xcode-cloud / WeatherXM | Unit tests | wxm-ios - iOS
PresentationLayer/UIComponents/Screens/Explorer/ExplorerFactory.swift#L74
'userInfo' is deprecated: Use customData instead.
xcode-cloud / WeatherXM | Unit tests | wxm-ios - iOS
PresentationLayer/UIComponents/BaseComponents/SelectLocationMap/SelectLocationMapViewModel.swift#L140
'userInfo' is deprecated: Use customData instead.
Check notice on line 89 in PresentationLayer/UIComponents/MapBox/MapBoxMapView.swift
xcode-cloud / WeatherXM | Unit tests | wxm-ios - iOS
PresentationLayer/UIComponents/MapBox/MapBoxMapView.swift#L89
'userInfo' is deprecated: Use customData instead.
Check notice on line 90 in PresentationLayer/UIComponents/MapBox/MapBoxMapView.swift
xcode-cloud / WeatherXM | Unit tests | wxm-ios - iOS
PresentationLayer/UIComponents/MapBox/MapBoxMapView.swift#L90
'userInfo' is deprecated: Use customData instead.