Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add implicitly_unwrapped_optional rule #1362

Merged

Conversation

SiarheiFedartsou
Copy link
Contributor

Add implicitly_unwrapped_optional rule that warns when using implicitly unwrapped optional,
except cases when this IUO is IBOutlet.
Also some small fixes to conform to new rule(NSRegularExpression! substituted with NSRegularExpression?).

@SwiftLintBot
Copy link

SwiftLintBot commented Mar 17, 2017

486 Warnings
⚠️ This PR introduced a violation in WordPress-iOS: /WordPress/WordPressUITests/LoginTests.swift#L5:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in Alamofire: /Tests/CacheTests.swift#L73:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in Alamofire: /Tests/CacheTests.swift#L74:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in Alamofire: /Tests/RequestTests.swift#L90:13: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in Alamofire: /Tests/SessionDelegateTests.swift#L30:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in Alamofire: /Tests/TLSEvaluationTests.swift#L73:13: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in Alamofire: /Tests/URLProtocolTests.swift#L115:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in swift: /stdlib/public/core/ImplicitlyUnwrappedOptional.swift#L80:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in swift: /stdlib/public/core/ImplicitlyUnwrappedOptional.swift#L87:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in swift: /stdlib/public/core/ImplicitlyUnwrappedOptional.swift#L122:7: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in swift: /stdlib/public/core/StringUnicodeScalarView.swift#L275:16: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in swift: /stdlib/public/core/StringUnicodeScalarView.swift#L276:16: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in swift: /stdlib/public/core/StringUnicodeScalarView.swift#L277:16: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in swift: /stdlib/public/SDK/AssetsLibrary/ALAssetsLibrary.swift#L18:7: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in swift: /stdlib/public/SDK/AssetsLibrary/ALAssetsLibrary.swift#L19:7: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in swift: /stdlib/public/SDK/Dispatch/Data.swift#L326:11: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in swift: /stdlib/public/SDK/Foundation/Data.swift#L779:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Controllers/PreferencesWindowController.swift#L125:48: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/Cache/VideoDownload.swift#L35:10: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Views/AerialView.swift#L16:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in Sourcery: /Sourcery/Parsing/FileParser.swift#L37:17: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in Sourcery: /Sourcery/Parsing/FileParser.swift#L38:17: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in Sourcery: /Sourcery/Parsing/FileParser.swift#L39:17: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in Sourcery: /Sourcery/Utils/FolderWatcher.swift#L68:17: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Kickstarter-iOS/AppDelegate.swift#L291:48: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Kickstarter-iOS/DataSources/ProfileDataSource.swift#L6:15: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Kickstarter-iOS/Views/Controllers/DiscoveryViewController.swift#L8:15: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Kickstarter-iOS/Views/Controllers/DiscoveryViewController.swift#L10:16: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Kickstarter-iOS/Views/Controllers/DiscoveryViewController.swift#L11:16: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Kickstarter-iOS/Views/Controllers/DiscoveryViewController.swift#L12:16: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Kickstarter-iOS/Views/Controllers/DiscoveryViewController.swift#L13:16: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Kickstarter-iOS/Views/Controllers/ProjectNavigatorViewController.swift#L15:15: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Kickstarter-iOS/Views/Controllers/ProjectPamphletViewController.swift#L15:15: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Kickstarter-iOS/Views/Controllers/ProjectPamphletViewController.swift#L16:15: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Kickstarter-iOS/Views/Controllers/ProjectPamphletContentViewController.swift#L17:15: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Kickstarter-iOS/Views/Controllers/RewardShippingPickerViewController.swift#L17:17: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Kickstarter-iOS/Views/Controllers/VideoViewController.swift#L19:15: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Kickstarter-iOS/Views/FundingGraphView.swift#L43:12: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Kickstarter-iOS/Views/FundingGraphView.swift#L49:12: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Library/AppEnvironment.swift#L71:10: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Library/FacebookAppDelegateProtocol.swift#L6:20: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Library/FacebookAppDelegateProtocol.swift#L7:20: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Library/FacebookAppDelegateProtocol.swift#L8:20: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Library/FacebookAppDelegateProtocol.swift#L9:20: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Library/FacebookAppDelegateProtocol.swift#L11:20: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Library/FacebookAppDelegateProtocol.swift#L12:20: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Library/FacebookAppDelegateProtocol.swift#L29:29: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Library/FacebookAppDelegateProtocol.swift#L30:29: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Library/FacebookAppDelegateProtocol.swift#L35:29: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Library/FacebookAppDelegateProtocol.swift#L36:29: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Library/FacebookAppDelegateProtocol.swift#L37:29: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /Library/FacebookAppDelegateProtocol.swift#L38:29: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in ios-oss: /LiveStream/ViewModels/LiveStreamViewModelTests.swift#L16:11: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Account/FirefoxAccount.swift#L40:10: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Application/AdjustIntegration.swift#L160:35: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Application/WebServer.swift#L47:87: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Application/AppDelegate.swift#L26:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Application/AppDelegate.swift#L27:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Application/AppDelegate.swift#L29:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Application/AppDelegate.swift#L40:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BackForwardListViewController.swift#L47:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserPrompts.swift#L95:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/FaviconManager.swift#L16:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/NewTabChoiceViewController.swift#L14:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/NewTabChoiceViewController.swift#L15:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/ReaderModeBarView.swift#L68:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/ReaderModeBarView.swift#L69:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/ReaderModeBarView.swift#L70:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/ReaderModeBarView.swift#L128:36: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/ReaderModeBarView.swift#L132:34: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/ReaderModeBarView.swift#L136:36: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/SearchEngines.swift#L79:17: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/SearchEngines.swift#L85:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/SearchEngines.swift#L91:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/SearchViewController.swift#L161:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L40:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L42:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L43:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L46:17: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L49:17: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L51:17: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L76:17: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L77:17: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L78:17: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L80:22: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L86:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L87:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L88:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L89:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L91:17: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L95:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L2219:40: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L2295:157: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L2390:40: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L2402:40: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L2556:40: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/BrowserViewController.swift#L3031:176: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/SwipeAnimator.swift#L31:10: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/SwipeAnimator.swift#L32:10: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/SwipeAnimator.swift#L34:17: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/SwipeAnimator.swift#L37:17: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/SwipeAnimator.swift#L107:26: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabLocationView.swift#L49:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabLocationView.swift#L50:5: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabPeekViewController.swift#L36:17: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabPeekViewController.swift#L168:40: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabManager.swift#L201:36: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabManager.swift#L201:66: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabManager.swift#L205:26: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabManager.swift#L205:56: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabManager.swift#L211:45: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabManager.swift#L211:75: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabManager.swift#L218:36: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabManager.swift#L218:66: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabManager.swift#L789:40: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabManager.swift#L793:40: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabManager.swift#L801:40: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabManager.swift#L813:40: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabManager.swift#L861:40: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabManager.swift#L867:40: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabManager.swift#L873:40: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabManager.swift#L879:40: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabManager.swift#L899:40: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ This PR introduced a violation in firefox-ios: /Client/Frontend/Browser/TabManager.swift#L905:40: warning: Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible. (implicitly_unwrapped_optional)
⚠️ Danger found 486 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 124.
518 Messages
📖 Linting WordPress-iOS with this PR took 16.5s vs 18.13s on master (8% faster)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L23:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L27:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L31:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L35:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L39:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L43:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L47:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L51:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L55:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L59:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L63:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L67:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L71:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L75:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L79:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L83:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L87:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L91:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L95:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L99:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L103:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L107:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L111:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L115:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L119:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L123:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L127:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L131:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L135:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L139:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L143:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L147:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L151:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L155:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L159:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L163:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L167:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L171:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L175:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L179:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L183:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L187:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L191:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L195:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L199:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L203:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L207:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L211:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L215:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L219:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L223:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/CoreGraphics/Private.swift#L227:5: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L18:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L24:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L30:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L36:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L42:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L48:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L54:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L60:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L66:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L72:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L78:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L84:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L90:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L96:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L102:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L108:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L114:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L120:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L126:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L132:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L138:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L144:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L150:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L156:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L162:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L168:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L174:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L180:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L186:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L192:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L198:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L204:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L210:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L216:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L222:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L228:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L234:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L240:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L246:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L252:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L258:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L264:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L270:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L276:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L282:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L288:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L294:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L300:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L306:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L312:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L318:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L324:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L330:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L336:2: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L341:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L346:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L351:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L356:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L361:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L366:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L371:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L376:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L381:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L386:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L391:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L396:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L401:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L406:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L411:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L416:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L421:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L426:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L431:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L436:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L441:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L446:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L451:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L456:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L461:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L466:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Dispatch/Private.swift#L471:3: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Foundation/Calendar.swift#L375:9: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Foundation/Calendar.swift#L391:9: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Foundation/Calendar.swift#L450:243: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Foundation/Calendar.swift#L453:268: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Foundation/Calendar.swift#L456:265: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Foundation/Calendar.swift#L463:126: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Foundation/Calendar.swift#L477:119: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Foundation/Calendar.swift#L500:95: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Foundation/Calendar.swift#L513:88: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Foundation/Calendar.swift#L528:163: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Foundation/Calendar.swift#L541:186: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
📖 This PR fixed a violation in swift: /stdlib/public/SDK/Foundation/Calendar.swift#L571:130: warning: Fatal Errror Message Violation: A fatalError call should have a message. (fatal_error_message)
⚠️ Danger found 518 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 146.

Generated by 🚫 danger

@codecov-io
Copy link

codecov-io commented Mar 17, 2017

Codecov Report

Merging #1362 into master will increase coverage by <.01%.
The diff coverage is 79.66%.

@@            Coverage Diff             @@
##           master    #1362      +/-   ##
==========================================
+ Coverage   81.91%   81.91%   +<.01%     
==========================================
  Files         176      181       +5     
  Lines        8924     9076     +152     
==========================================
+ Hits         7310     7435     +125     
- Misses       1614     1641      +27
Impacted Files Coverage Δ
...rce/SwiftLintFramework/Models/MasterRuleList.swift 100% <ø> (ø) ⬆️
Tests/SwiftLintFrameworkTests/RulesTests.swift 71.69% <66.66%> (-0.12%) ⬇️
...ons/ImplicitlyUnwrappedOptionalConfiguration.swift 66.66% <66.66%> (ø)
...rkTests/ImplicitlyUnwrappedOptionalRuleTests.swift 75% <75%> (ø)
...mplicitlyUnwrappedOptionalConfigurationTests.swift 81.57% <81.57%> (ø)
...mework/Rules/ImplicitlyUnwrappedOptionalRule.swift 96% <96%> (ø)
...iftLintFramework/Rules/FatalErrorMessageRule.swift 91.3% <0%> (ø)
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1fb8583...3db5aad. Read the comment docs.

@SiarheiFedartsou
Copy link
Contributor Author

It seems that tests failed not because of my changes...

Copy link
Collaborator

@marcelofabri marcelofabri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also revert the changes that were made in the project to make it conform to the new rule?

I don't think we want to enforce it here (at least for now), as there're only a few places that use IUO and I'm not sure the proposed approaches are really better.

CHANGELOG.md Outdated
@@ -9,6 +9,11 @@

##### Enhancements

* Add `implicitly_unwrapped_optional` rule
that warns when using implicitly unwrapped optional,
except cases when this IUO is IBOutlet.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

requires two trailing spaces as described in CONTRIBUTING.md: https://github.com/realm/SwiftLint/blob/master/CONTRIBUTING.md#tracking-changes

guard let typeName = dictionary.typeName else { return [] }
guard typeName.hasSuffix("!") else { return [] }

let isOutlet = dictionary.enclosedSwiftAttributes.contains("source.decl.attribute.iboutlet")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you think about making this configurable? I think by default we should skip outlets, but I know some people who think that IUO shouldn't be used even on outlets.

…ering on complex types(AnyCollection<Int!> for ex.)
@SiarheiFedartsou
Copy link
Contributor Author

SiarheiFedartsou commented Mar 18, 2017

@marcelofabri Thanks for your feedback! Just updated the pull request.

@SiarheiFedartsou
Copy link
Contributor Author

@marcelofabri Any updates?

Copy link
Collaborator

@marcelofabri marcelofabri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to add the new test cases to LinuxMain.swift, so they can be run on Linux as well.

Also, can you mention #56 on CHANGELOG since this PR fixes it?

@SiarheiFedartsou
Copy link
Contributor Author

@marcelofabri just updated the PR.

@marcelofabri marcelofabri merged commit e26710c into realm:master Mar 22, 2017
@marcelofabri
Copy link
Collaborator

Thanks for implementing this! 👏

@jpsim
Copy link
Collaborator

jpsim commented Mar 23, 2017

Thanks for the PR @SiarheiFedartsou!


I don't think we want to enforce it here (at least for now), as there're only a few places that use IUO and I'm not sure the proposed approaches are really better.

👍 thanks for making this point @marcelofabri!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants