Skip to content

Taint variables in tuples - #6629

Merged
SimplyDanny merged 1 commit into
mainfrom
taint-tuples
May 6, 2026
Merged

SimplyDanny merged 1 commit into
mainfrom
taint-tuples

Conversation

@SimplyDanny

Copy link
Copy Markdown
Collaborator

Fixes #6621.

@SwiftLintBot

Copy link
Copy Markdown
1 Warning
⚠️ This PR may need tests.
27 Messages
📖 Building this branch resulted in the same binary size as when built on main.
📖 Linting Aerial with this PR took 0.81 s vs 0.78 s on main (3% slower).
📖 Linting Alamofire with this PR took 1.13 s vs 1.15 s on main (1% faster).
📖 Linting Brave with this PR took 7.46 s vs 7.43 s on main (0% slower).
📖 Linting DuckDuckGo with this PR took 29.26 s vs 29.16 s on main (0% slower).
📖 Linting Firefox with this PR took 12.5 s vs 12.42 s on main (0% slower).
📖 Linting Kickstarter with this PR took 8.61 s vs 8.61 s on main (0% slower).
📖 Linting Moya with this PR took 0.48 s vs 0.45 s on main (6% slower).
📖 Linting NetNewsWire with this PR took 2.91 s vs 2.87 s on main (1% slower).
📖 Linting Nimble with this PR took 0.69 s vs 0.68 s on main (1% slower).
📖 Linting PocketCasts with this PR took 8.22 s vs 8.31 s on main (1% faster).
📖 Linting Quick with this PR took 0.42 s vs 0.45 s on main (6% faster).
📖 Linting Realm with this PR took 2.99 s vs 3.06 s on main (2% faster).
📖 Linting Sourcery with this PR took 1.89 s vs 1.87 s on main (1% slower).
📖 Linting Swift with this PR took 4.82 s vs 4.81 s on main (0% slower).
📖 Linting SwiftLintPerformanceTests with this PR took 0.3 s vs 0.33 s on main (9% faster).
📖 Linting VLC with this PR took 1.27 s vs 1.25 s on main (1% slower).
📖 Linting Wire with this PR took 19.26 s vs 19.19 s on main (0% slower).
📖 Linting WordPress with this PR took 12.94 s vs 12.92 s on main (0% slower).
📖 This PR fixed a violation in Alamofire: /Source/Core/Request.swift:833:73: Warning: @escaping attribute not required as 'closure' does not escape (unneeded_escaping)
📖 This PR fixed a violation in Alamofire: /Source/Core/Request.swift:850:71: Warning: @escaping attribute not required as 'closure' does not escape (unneeded_escaping)
📖 This PR fixed a violation in DuckDuckGo: /macOS/LocalPackages/BWIntegration/Sources/BWManagement/BWManager.swift:616:56: Warning: @escaping attribute not required as 'completion' does not escape (unneeded_escaping)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Permissions/Model/PermissionManagerMock.swift:89:117: Warning: @escaping attribute not required as 'decisionHandler' does not escape (unneeded_escaping)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Application/Application.swift:146:67: Warning: @escaping attribute not required as 'interceptor' does not escape (unneeded_escaping)
📖 This PR fixed a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/PledgedProjectsOverview/PPOContainerViewModel.swift:174:73: Warning: @escaping attribute not required as 'onProgress' does not escape (unneeded_escaping)
📖 This PR fixed a violation in Wire: /wire-ios/Tests/Mocks/UserSessionMock.swift:170:19: Warning: @escaping attribute not required as 'callback' does not escape (unneeded_escaping)
📖 This PR fixed a violation in Wire: /wire-ios/Tests/Mocks/AppLock/AppLockModule.MockAppLockController.swift:64:23: Warning: @escaping attribute not required as 'callback' does not escape (unneeded_escaping)

Generated by 🚫 Danger

@SimplyDanny
SimplyDanny merged commit 767d780 into main May 6, 2026
20 checks passed
@SimplyDanny
SimplyDanny deleted the taint-tuples branch May 6, 2026 04:43
nadeemnali pushed a commit to nadeemnali/SwiftLint that referenced this pull request May 17, 2026
nadeemnali pushed a commit to nadeemnali/SwiftLint that referenced this pull request May 17, 2026
nadeemnali pushed a commit to nadeemnali/SwiftLint that referenced this pull request May 17, 2026
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.

unneeded_escaping false positive when variable later used in a tuple

2 participants