Skip to content

Improve pattern_matching_keywords SwiftSyntax rule#6534

Open
GandaLF2006 wants to merge 3 commits intorealm:mainfrom
GandaLF2006:gandalf2006/pattern_matching_keywords-improve
Open

Improve pattern_matching_keywords SwiftSyntax rule#6534
GandaLF2006 wants to merge 3 commits intorealm:mainfrom
GandaLF2006:gandalf2006/pattern_matching_keywords-improve

Conversation

@GandaLF2006
Copy link
Contributor

Summary

This PR improves the existing opt-in SwiftLint rule pattern_matching_keywords.

Compared to the original implementation, the rule now covers more pattern-matching contexts and handles nested tuple/enum associated value patterns more reliably.

What changed

The original implementation only analyzed switch case items and relied on a narrower syntax-based approach.

This update expands the rule to also check:

  • if case
  • guard case
  • while case
  • for case
  • catch

It also improves handling of:

  • nested tuple patterns
  • nested enum associated value patterns
  • labeled associated values
  • multi-pattern case clauses

@GandaLF2006 GandaLF2006 force-pushed the gandalf2006/pattern_matching_keywords-improve branch from a42f3d1 to 992cd9e Compare March 9, 2026 23:10
@SwiftLintBot
Copy link

SwiftLintBot commented Mar 9, 2026

2353 Warnings
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:196:51: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:196:60: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:198:52: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:198:62: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:200:53: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:200:63: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:234:47: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:234:56: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:236:48: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:236:58: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:238:49: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:238:59: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Tests/BrowserMenuTests/BrowserMenuTests.swift:328:21: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Tests/BrowserMenuTests/BrowserMenuTests.swift:328:33: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveNews/Composer/FeedCardGenerator.swift:129:26: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveNews/Composer/FeedCardGenerator.swift:129:49: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveNews/Composer/FeedCardGenerator.swift:212:23: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveNews/Composer/FeedCardGenerator.swift:212:37: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveNews/Composer/FeedCardGenerator.swift:212:59: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveNews/Composer/FeedCardGenerator.swift:226:23: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveNews/Composer/FeedCardGenerator.swift:226:37: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveNews/FeedItemView.swift:346:21: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveNews/FeedItemView.swift:346:38: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BrowserMenu/BrowserMenu.swift:111:28: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BrowserMenu/BrowserMenu.swift:111:40: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:827:23: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:827:37: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:829:22: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:829:36: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:841:29: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:841:43: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:852:23: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:852:37: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:861:34: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:861:48: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:863:19: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:863:33: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:865:31: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:865:45: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/CryptoView.swift:59:37: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/CryptoView.swift:59:50: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/CryptoView.swift:116:38: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/CryptoView.swift:116:51: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/CryptoView.swift:234:38: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/CryptoView.swift:234:50: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/WalletActions/DepositTokenView.swift:412:32: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/WalletActions/DepositTokenView.swift:412:45: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/WalletActions/DepositTokenView.swift:412:66: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/WalletActions/DepositTokenView.swift:427:30: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/WalletActions/DepositTokenView.swift:427:44: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/WalletActions/DepositTokenView.swift:427:65: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Extensions/WalletAmountFormatter.swift:77:21: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Extensions/WalletAmountFormatter.swift:77:32: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NavigationRouter.swift:82:15: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NavigationRouter.swift:82:24: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+AIChat.swift:22:35: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+AIChat.swift:22:45: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+ToolbarDelegate.swift:390:26: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+ToolbarDelegate.swift:390:38: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/ToolbarVisibilityViewModel.swift:157:19: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/ToolbarVisibilityViewModel.swift:157:33: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/ToolbarVisibilityViewModel.swift:162:21: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/ToolbarVisibilityViewModel.swift:162:35: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/BrowserViewController/BrowserViewController.swift:2776:18: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/BrowserViewController/BrowserViewController.swift:2776:32: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/Sections/BraveNewsSectionProvider.swift:311:17: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/Sections/BraveNewsSectionProvider.swift:311:28: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/Sections/BraveNewsSectionProvider.swift:368:17: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/Sections/BraveNewsSectionProvider.swift:368:28: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/Sections/BraveNewsSectionProvider.swift:368:39: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/Sections/BraveNewsSectionProvider.swift:397:20: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/Sections/BraveNewsSectionProvider.swift:397:31: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/NewTabPageViewController.swift:708:28: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/NewTabPageViewController.swift:708:53: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/NewTabPageViewController.swift:839:30: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/NewTabPageViewController.swift:839:44: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/NewTabPageViewController.swift:839:73: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/NewTabPageViewController.swift:951:16: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/NewTabPageViewController.swift:952:16: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/NewTabPageViewController.swift:957:25: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/NewTabPageViewController.swift:958:16: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/Toolbars/BottomToolbar/Menu/Bookmarks/AddEditBookmarkTableViewController.swift:52:23: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/Toolbars/BottomToolbar/Menu/Bookmarks/AddEditBookmarkTableViewController.swift:52:34: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/UserScripts/ScriptFactory.swift:141:27: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/UserScripts/ScriptFactory.swift:141:38: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/BraveRewards/Ads/AdSwipeButton.swift:41:16: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/BraveRewards/Ads/AdSwipeButton.swift:41:26: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/DeviceCheck/DeviceCheck.swift:333:26: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/DeviceCheck/DeviceCheck.swift:333:41: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/WebFilters/CustomFilterListStorage.swift:29:24: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/WebFilters/CustomFilterListStorage.swift:29:34: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/WebFilters/ResourceDownloader.swift:61:22: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/WebFilters/ResourceDownloader.swift:61:43: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/WebFilters/ResourceDownloader.swift:83:23: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/WebFilters/ResourceDownloader.swift:83:36: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveTalk/BraveTalkJitsiCoordinator.swift:47:32: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/BraveTalk/BraveTalkJitsiCoordinator.swift:47:46: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/AIChat/Components/Feedback/AIChatFeedbackToastView.swift:70:18: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/AIChat/Components/Feedback/AIChatFeedbackToastView.swift:70:38: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/AIChat/Components/Feedback/AIChatFeedbackToastView.swift:73:16: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/AIChat/Components/Feedback/AIChatFeedbackToastView.swift:73:30: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/AIChat/Components/Feedback/AIChatFeedbackToastView.swift:74:16: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/AIChat/Components/Feedback/AIChatFeedbackToastView.swift:74:30: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/AIChat/Components/Feedback/AIChatFeedbackToastView.swift:130:19: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/AIChat/Components/Feedback/AIChatFeedbackToastView.swift:130:32: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/AutofillCredentialProvider/CredentialProvider/Shared/ActionMessageView.swift:61:29: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/AutofillCredentialProvider/CredentialProvider/Shared/ActionMessageView.swift:61:53: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/ContentBlocking.swift:106:48: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/ContentBlocking.swift:106:62: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/ContentBlocking.swift:140:57: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/ContentBlocking.swift:140:73: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:2365:41: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:2365:60: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:2371:42: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:2371:61: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:2382:48: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:2382:62: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:2390:57: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:2390:77: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:2421:41: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:2421:63: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:2421:87: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:3442:44: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:3442:73: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:3454:61: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:3454:81: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:3469:34: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:3469:48: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:3479:51: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/PixelEvent.swift:3479:65: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/DirectoryMonitor.swift:113:30: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/DirectoryMonitor.swift:113:42: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples
⚠️ Danger found 2353 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 132.
2155 Messages
📖 Building this branch resulted in a binary size of 27356.99 KiB vs 27357.74 KiB when built on main (-1% smaller).
📖 Linting Aerial with this PR took 0.83 s vs 0.82 s on main (1% slower).
📖 Linting Alamofire with this PR took 1.05 s vs 1.05 s on main (0% slower).
📖 Linting Brave with this PR took 7.11 s vs 7.1 s on main (0% slower).
📖 Linting DuckDuckGo with this PR took 26.79 s vs 26.78 s on main (0% slower).
📖 Linting Firefox with this PR took 11.91 s vs 11.9 s on main (0% slower).
📖 Linting Kickstarter with this PR took 8.23 s vs 8.27 s on main (0% faster).
📖 Linting Moya with this PR took 0.49 s vs 0.47 s on main (4% slower).
📖 Linting NetNewsWire with this PR took 2.55 s vs 2.52 s on main (1% slower).
📖 Linting Nimble with this PR took 0.71 s vs 0.69 s on main (2% slower).
📖 Linting PocketCasts with this PR took 7.73 s vs 7.8 s on main (0% faster).
📖 Linting Quick with this PR took 0.48 s vs 0.42 s on main (14% slower).
📖 Linting Realm with this PR took 2.99 s vs 2.94 s on main (1% slower).
📖 Linting Sourcery with this PR took 1.89 s vs 1.87 s on main (1% slower).
📖 Linting Swift with this PR took 4.66 s vs 4.68 s on main (0% faster).
📖 Linting SwiftLintPerformanceTests with this PR took 0.35 s vs 0.33 s on main (6% slower).
📖 Linting VLC with this PR took 1.23 s vs 1.23 s on main (0% slower).
📖 Linting Wire with this PR took 18.66 s vs 18.62 s on main (0% slower).
📖 Linting WordPress with this PR took 12.6 s vs 12.65 s on main (0% faster).
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:196:51: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:196:60: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:198:52: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:198:62: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:200:53: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:200:63: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:234:47: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:234:56: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:236:48: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:236:58: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:238:49: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:238:59: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BrowserMenuTests/BrowserMenuTests.swift:328:21: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BrowserMenuTests/BrowserMenuTests.swift:328:33: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveNews/Composer/FeedCardGenerator.swift:212:23: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveNews/Composer/FeedCardGenerator.swift:212:37: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveNews/Composer/FeedCardGenerator.swift:212:59: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveNews/Composer/FeedCardGenerator.swift:226:23: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveNews/Composer/FeedCardGenerator.swift:226:37: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveNews/FeedItemView.swift:346:21: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveNews/FeedItemView.swift:346:38: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:827:23: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:827:37: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:829:22: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:829:36: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:841:29: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:841:43: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:852:23: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:852:37: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:861:34: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:861:48: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:863:19: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:863:33: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:865:31: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift:865:45: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/CryptoView.swift:116:38: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/CryptoView.swift:116:51: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/CryptoView.swift:234:38: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/CryptoView.swift:234:50: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/WalletActions/DepositTokenView.swift:412:32: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/WalletActions/DepositTokenView.swift:412:45: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/WalletActions/DepositTokenView.swift:412:66: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/WalletActions/DepositTokenView.swift:427:30: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/WalletActions/DepositTokenView.swift:427:44: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveWallet/Crypto/WalletActions/DepositTokenView.swift:427:65: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NavigationRouter.swift:82:15: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NavigationRouter.swift:82:24: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+AIChat.swift:22:35: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+AIChat.swift:22:45: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+ToolbarDelegate.swift:390:26: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+ToolbarDelegate.swift:390:38: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/ToolbarVisibilityViewModel.swift:157:19: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/ToolbarVisibilityViewModel.swift:157:33: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/ToolbarVisibilityViewModel.swift:162:21: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/ToolbarVisibilityViewModel.swift:162:35: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/BrowserViewController/BrowserViewController.swift:2776:18: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/BrowserViewController/BrowserViewController.swift:2776:32: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/Sections/BraveNewsSectionProvider.swift:311:17: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/Sections/BraveNewsSectionProvider.swift:311:28: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/Sections/BraveNewsSectionProvider.swift:368:17: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/Sections/BraveNewsSectionProvider.swift:368:28: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/Sections/BraveNewsSectionProvider.swift:368:39: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/Sections/BraveNewsSectionProvider.swift:397:20: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/Sections/BraveNewsSectionProvider.swift:397:31: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/NewTabPageViewController.swift:839:30: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/NewTabPageViewController.swift:839:44: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/NewTabPageViewController.swift:839:73: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/NewTabPageViewController.swift:951:16: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/NewTabPage/NewTabPageViewController.swift:952:16: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/Toolbars/BottomToolbar/Menu/Bookmarks/AddEditBookmarkTableViewController.swift:52:23: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/Toolbars/BottomToolbar/Menu/Bookmarks/AddEditBookmarkTableViewController.swift:52:34: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/UserScripts/ScriptFactory.swift:141:27: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/Browser/UserScripts/ScriptFactory.swift:141:38: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/BraveRewards/Ads/AdSwipeButton.swift:41:16: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/Frontend/BraveRewards/Ads/AdSwipeButton.swift:41:26: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/DeviceCheck/DeviceCheck.swift:333:26: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/DeviceCheck/DeviceCheck.swift:333:41: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/WebFilters/ResourceDownloader.swift:61:22: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/WebFilters/ResourceDownloader.swift:61:43: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/WebFilters/ResourceDownloader.swift:83:23: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/WebFilters/ResourceDownloader.swift:83:36: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/WebFilters/CustomFilterListStorage.swift:29:24: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Brave/WebFilters/CustomFilterListStorage.swift:29:34: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveTalk/BraveTalkJitsiCoordinator.swift:47:32: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/BraveTalk/BraveTalkJitsiCoordinator.swift:47:46: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/AIChat/Components/Feedback/AIChatFeedbackToastView.swift:70:18: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/AIChat/Components/Feedback/AIChatFeedbackToastView.swift:70:38: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/AIChat/Components/Feedback/AIChatFeedbackToastView.swift:73:16: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/AIChat/Components/Feedback/AIChatFeedbackToastView.swift:73:30: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/AIChat/Components/Feedback/AIChatFeedbackToastView.swift:74:16: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/AIChat/Components/Feedback/AIChatFeedbackToastView.swift:74:30: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/AIChat/Components/Feedback/AIChatFeedbackToastView.swift:130:19: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/AIChat/Components/Feedback/AIChatFeedbackToastView.swift:130:32: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/PixelKitTests/DDGErrorPixelComparisonTests.swift:62:44: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/PixelKitTests/DDGErrorPixelComparisonTests.swift:62:84: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/NavigationResponderMock.swift:44:28: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/NavigationResponderMock.swift:44:51: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/NavigationTestHelpers.swift:50:36: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/NavigationTestHelpers.swift:50:45: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/NavigationTestHelpers.swift:56:29: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/NavigationTestHelpers.swift:56:48: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/NavigationTestHelpers.swift:60:43: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/NavigationTestHelpers.swift:60:52: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/NavigationTestHelpers.swift:66:53: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/NavigationTestHelpers.swift:66:62: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/NavigationTestHelpers.swift:68:48: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/NavigationTestHelpers.swift:68:70: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/NavigationTestHelpers.swift:74:45: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/NavigationTestHelpers.swift:74:54: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/NavigationTestHelpers.swift:78:45: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/NavigationTestHelpers.swift:78:54: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/NavigationTestHelpers.swift:80:38: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/NavigationTestHelpers.swift:80:50: Warning: Combine multiple pattern matching bindings by moving keywords out of tuples (pattern_matching_keywords)
⚠️ Danger found 2155 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 132.

Generated by 🚫 Danger

@GandaLF2006 GandaLF2006 force-pushed the gandalf2006/pattern_matching_keywords-improve branch 2 times, most recently from 1a809bf to b14f17b Compare March 9, 2026 23:27
@GandaLF2006
Copy link
Contributor Author

@SimplyDanny It would be great if you can review it

@GandaLF2006 GandaLF2006 force-pushed the gandalf2006/pattern_matching_keywords-improve branch from b14f17b to ec4ab2e Compare March 17, 2026 18:55
@GandaLF2006 GandaLF2006 force-pushed the gandalf2006/pattern_matching_keywords-improve branch from ec4ab2e to 64d1527 Compare March 20, 2026 21:26
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.

2 participants