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

Rewrite operator_usage_whitespace with SwiftSyntax #3962

Merged
merged 11 commits into from
May 6, 2022

Conversation

marcelofabri
Copy link
Collaborator

@marcelofabri marcelofabri commented Apr 27, 2022

Fixes #3668, #2728 and #3965

@SwiftLintBot
Copy link

SwiftLintBot commented Apr 27, 2022

64 Warnings
⚠️ Big PR
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/Cache/Thumbnails.swift:162:50: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/Cache/Thumbnails.swift:166:50: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/ManifestLoader.swift:556:60: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/SourceList.swift:339:76: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/SourceList.swift:345:68: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/SourceList.swift:356:68: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Views/Sources/ActionCellView.swift:18:109: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Account/KeyBundle.swift:77:51: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Browser/BackForwardTableViewCell.swift:104:76: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Browser/BackForwardTableViewCell.swift:106:96: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Browser/TabTrayController+KeyCommands.swift:10:101: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Browser/Tabs/EmptyPrivateTabsView.swift:24:19: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Browser/Tabs/RemoteTabsPanel.swift:312:38: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Home/RecentlySaved/FxHomeRecentlySavedCollectionCell.swift:56:94: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Library/BookmarkDetailPanel.swift:76:57: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Library/BookmarkDetailPanel.swift:81:56: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Library/HistoryPanel/GeneralizedTableView/SearchGroupedItemsViewController.swift:42:53: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Library/LibraryViewController/LibraryViewController.swift:48:56: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Library/LibraryViewController/LibraryViewController.swift:57:57: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Login Management/LoginDetailTableViewCell.swift:110:102: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Toolbar+URLBar/TabLocationView.swift:324:103: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Client/Telemetry/TelemetryWrapper.swift:703:66: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /ClientTests/FxHomeTopSitesManagerTests.swift:480:106: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Providers/Profile.swift:443:132: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Shared/NetworkUtils.swift:18:112: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Storage/Rust/RustPlaces.swift:259:28: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Sync/StorageClient.swift:776:61: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Sync/StorageClient.swift:776:78: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /Sync/StorageClient.swift:776:99: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /SyncTelemetry/SyncTelemetryEvents.swift:106:46: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /ThirdParty/UIImageColors.swift:265:58: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /ThirdParty/UIImageColors.swift:269:60: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /ThirdParty/UIImageColors.swift:273:57: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Firefox: /fastlane/SnapshotHelper.swift:169:66: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Realm: /RealmSwift/Tests/Decimal128Tests.swift:112:34: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Realm: /RealmSwift/Tests/Decimal128Tests.swift:50:28: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Realm: /RealmSwift/Tests/Decimal128Tests.swift:73:31: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Realm: /RealmSwift/Tests/Decimal128Tests.swift:96:28: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Sourcery: /SourceryTests/Helpers/Builders.swift:17:101: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Sourcery: /SourceryTests/Helpers/Builders.swift:6:69: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Sourcery: /SourceryTests/Stub/Performance-Code/Kiosk/App/AppDelegate+GlobalActions.swift:35:43: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/ClosedRange.swift:430:14: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/CommandLine.swift:36:54: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/DebuggerSupport.swift:168:19: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Dump.swift:105:26: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Dump.swift:202:26: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/ManagedBuffer.swift:289:56: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Range.swift:365:14: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/VarArgs.swift:240:46: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in WordPress: /WordPress/Classes/Utility/Migrations/87-88/BlogToBlogMigration87to88.swift:15:75: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in WordPress: /WordPress/Classes/ViewRelated/Activity/ActivityTableViewCell.swift:42:39: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in WordPress: /WordPress/Classes/ViewRelated/Blog/Site Settings/SiteSettingsViewController+Swift.swift:107:38: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in WordPress: /WordPress/Classes/ViewRelated/Developer/WeeklyRoundupDebugScreen.swift:8:48: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in WordPress: /WordPress/Classes/ViewRelated/Plans/PlanDetailViewController.swift:238:53: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in WordPress: /WordPress/Classes/ViewRelated/Post/PostListViewController.swift:229:114: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in WordPress: /WordPress/Classes/ViewRelated/Reader/Filter/FilterProvider.swift:197:40: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in WordPress: /WordPress/Classes/ViewRelated/Reader/ReaderPostCardCell.swift:662:42: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in WordPress: /WordPress/Classes/ViewRelated/Reader/ReaderPostCardCell.swift:864:49: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in WordPress: /WordPress/Classes/ViewRelated/Reader/ReaderPostCardCell.swift:926:53: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in WordPress: /WordPress/Classes/ViewRelated/Reader/Tags View/ReaderTopicCollectionViewCoordinator.swift:205:82: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in WordPress: /WordPress/WordPressScreenshotGeneration/SnapshotHelper.swift:169:66: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in WordPress: /WordPress/WordPressShareExtension/Tracks.swift:48:52: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
⚠️ This PR introduced a violation in WordPress: /WordPress/WordPressShareExtension/Tracks.swift:49:58: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
76 Messages
📖 Linting Aerial with this PR took 0.98s vs 1.01s on master (2% faster)
📖 Linting Alamofire with this PR took 1.1s vs 1.14s on master (3% faster)
📖 Linting Firefox with this PR took 4.25s vs 4.36s on master (2% faster)
📖 Linting Kickstarter with this PR took 7.47s vs 7.63s on master (2% faster)
📖 Linting Moya with this PR took 0.54s vs 4.38s on master (87% faster)
📖 Linting Nimble with this PR took 0.41s vs 0.42s on master (2% faster)
📖 Linting Quick with this PR took 0.19s vs 0.2s on master (5% faster)
📖 Linting Realm with this PR took 9.7s vs 10.34s on master (6% faster)
📖 Linting SourceKitten with this PR took 0.34s vs 0.34s on master (0% slower)
📖 Linting Sourcery with this PR took 2.01s vs 2.06s on master (2% faster)
📖 Linting Swift with this PR took 3.2s vs 3.31s on master (3% faster)
📖 Linting WordPress with this PR took 7.62s vs 7.84s on master (2% faster)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/Hardware/HardwareDetection.swift:143:75: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Firefox: /Client/Frontend/Library/LibraryPanelContextMenu.swift:37:122: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Firefox: /Client/Frontend/Library/LibraryPanelContextMenu.swift:51:98: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Kickstarter: /Library/ViewModels/PledgeViewModel.swift:1017:60: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Sourcery: /SourceryTests/Stub/Performance-Code/Kiosk/App/GlobalFunctions.swift:6:61: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Differentiation/DifferentialOperators.swift:124:2: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Differentiation/DifferentialOperators.swift:197:58: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:1008:23: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:1010:22: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:1018:15: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:1020:19: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:1028:19: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:1030:21: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:1036:15: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:1046:20: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:1048:16: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:858:15: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:860:16: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:866:13: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:872:17: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:874:15: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:888:15: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:890:16: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:892:15: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:910:15: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:916:15: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:918:16: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:920:15: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:922:14: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:930:21: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:936:22: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:938:18: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:940:20: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:942:21: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:948:20: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:954:20: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:956:23: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:958:18: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:960:21: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:962:19: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:964:22: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:966:20: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:972:18: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:974:19: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:976:22: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:978:19: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:980:22: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:982:15: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:984:22: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:986:19: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:988:22: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:990:19: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/Platform/POSIXError.swift:992:18: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/core/DictionaryCasting.swift:114:53: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/core/DictionaryCasting.swift:115:76: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/core/DictionaryCasting.swift:61:42: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/core/DictionaryCasting.swift:62:65: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Range.swift:891:52: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UnicodeEncoding.swift:96:53: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UnicodeEncoding.swift:99:40: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in WordPress: /WordPress/Classes/Utility/Universal Links/Routes+Reader.swift:158:35: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in WordPress: /WordPress/Classes/Utility/WPContentSearchHelper.swift:17:64: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in WordPress: /WordPress/Classes/Utility/WPContentSearchHelper.swift:25:63: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)
📖 This PR fixed a violation in WordPress: /WordPress/Classes/ViewRelated/Views/WPRichText/WPRichTextEmbed.swift:6:48: warning: Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used. (operator_usage_whitespace)

Generated by 🚫 Danger

@codecov-commenter
Copy link

codecov-commenter commented May 1, 2022

Codecov Report

Merging #3962 (4a7d562) into master (ebc7739) will decrease coverage by 0.00%.
The diff coverage is 95.18%.

@@            Coverage Diff             @@
##           master    #3962      +/-   ##
==========================================
- Coverage   92.55%   92.55%   -0.01%     
==========================================
  Files         446      446              
  Lines       22463    22490      +27     
==========================================
+ Hits        20791    20815      +24     
- Misses       1672     1675       +3     
Impacted Files Coverage Δ
...mework/Rules/Style/ReturnArrowWhitespaceRule.swift 100.00% <ø> (ø)
...work/Rules/Style/OperatorUsageWhitespaceRule.swift 90.47% <91.48%> (-2.99%) ⬇️
...intFramework/Extensions/Configuration+Remote.swift 43.27% <100.00%> (ø)
...tLintFramework/Reporters/CodeClimateReporter.swift 93.54% <100.00%> (ø)
...iftLintFramework/Reporters/SonarQubeReporter.swift 88.88% <100.00%> (ø)
...ules/Performance/ContainsOverFilterCountRule.swift 100.00% <100.00%> (ø)
...es/Performance/ContainsOverFilterIsEmptyRule.swift 100.00% <100.00%> (ø)
...s/SwiftLintFrameworkTests/ModifierOrderTests.swift 98.71% <100.00%> (+0.03%) ⬆️
...iftLintFramework/Extensions/String+SwiftLint.swift 89.39% <0.00%> (-1.52%) ⬇️
... and 1 more

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@marcelofabri marcelofabri force-pushed the marcelo/operator_usage_whitespace-swift-syntax branch from e139326 to 4a7d562 Compare May 1, 2022 22:00
@marcelofabri marcelofabri marked this pull request as ready for review May 2, 2022 00:00
@marcelofabri marcelofabri merged commit f880b66 into master May 6, 2022
@marcelofabri marcelofabri deleted the marcelo/operator_usage_whitespace-swift-syntax branch May 6, 2022 23:48
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.

False positive for operator_usage_whitespace and generic parameters
3 participants