Skip to content

Use SwiftSyntax 6.2 pre-release 2025-05-29 #6099

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SimplyDanny
Copy link
Collaborator

No description provided.

@SwiftLintBot
Copy link

SwiftLintBot commented Jun 18, 2025

615 Warnings
⚠️ Building this branch resulted in a binary size of 37223.35 KiB vs 36345.66 KiB when built on main (2% larger).
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/ThreadLocalStorage.swift:23:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/ThreadLocalStorage.swift:34:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/ThreadLocalStorage.swift:62:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/StringUTF8Validation.swift:303:33: Warning: Multiline arguments should have their surrounding brackets in a new line (multiline_arguments_brackets)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/StringUTF8Validation.swift:304:106: Warning: Multiline arguments should have their surrounding brackets in a new line (multiline_arguments_brackets)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/StringUTF8Validation.swift:162:41: Warning: Magic numbers should be replaced by named constants (no_magic_numbers)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/StringUTF8Validation.swift:184:69: Warning: Magic numbers should be replaced by named constants (no_magic_numbers)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/StringUTF8Validation.swift:304:26: Warning: Function parameters should be aligned vertically if they're in multiple lines in a method call (vertical_parameter_alignment_on_call)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/StringGutsSlice.swift:85:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/UnicodeSPI.swift:198:35: Warning: Use named arguments in multiline closures (anonymous_argument_in_multiline_closure)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/LifetimeManager.swift:136:3: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/LifetimeManager.swift:184:3: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/LifetimeManager.swift:197:3: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/LifetimeManager.swift:241:3: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/LifetimeManager.swift:273:3: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/BridgingBuffer.swift:55:7: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/BridgingBuffer.swift:62:7: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/UnsafeRawPointer.swift:427:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/UnsafeRawPointer.swift:495:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/UnsafeRawPointer.swift:1044:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/UnsafeRawPointer.swift:1335:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Hashable.swift:161:3: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Hashable.swift:169:3: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/DictionaryStorage.swift:91:29: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/DictionaryStorage.swift:109:7: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/DictionaryStorage.swift:144:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/DictionaryStorage.swift:222:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/DictionaryStorage.swift:239:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/DictionaryStorage.swift:290:7: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/DictionaryStorage.swift:298:7: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/DictionaryStorage.swift:303:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/DictionaryStorage.swift:318:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/DictionaryStorage.swift:323:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/DictionaryStorage.swift:328:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/DictionaryStorage.swift:427:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Diffing.swift:362:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Diffing.swift:363:7: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/BridgeObjectiveC.swift:477:7: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/BridgeObjectiveC.swift:654:3: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/EmbeddedPrint.swift:40:16: Error: Variable name 'c' should be between 3 and 40 characters long (identifier_name)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/EmbeddedPrint.swift:55:16: Error: Variable name 'c' should be between 3 and 40 characters long (identifier_name)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/EmbeddedPrint.swift:67:14: Error: Variable name 'c' should be between 3 and 40 characters long (identifier_name)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/EmbeddedPrint.swift:78:14: Error: Variable name 'c' should be between 3 and 40 characters long (identifier_name)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/NativeDictionary.swift:84:7: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/NativeDictionary.swift:91:7: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/NativeDictionary.swift:98:7: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/NativeDictionary.swift:105:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/NativeDictionary.swift:110:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/NativeDictionary.swift:167:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/NativeDictionary.swift:174:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/NativeDictionary.swift:187:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/NativeDictionary.swift:362:7: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/NativeDictionary.swift:686:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/UTF8SpanInternalHelpers.swift:51:50: Warning: Magic numbers should be replaced by named constants (no_magic_numbers)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/UTF8SpanInternalHelpers.swift:51:69: Warning: Magic numbers should be replaced by named constants (no_magic_numbers)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/MemoryLayout.swift:262:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/MemoryLayout.swift:266:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/MemoryLayout.swift:271:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/MemoryLayout.swift:275:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Unicode.swift:306:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Unicode.swift:313:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Integers.swift:1437:7: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/CString.swift:415:9: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/CString.swift:441:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/CString.swift:546:7: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/CString.swift:554:7: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/CString.swift:384:9: Warning: Else branches should be avoided when the previous if-block exits the current scope (superfluous_else)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/CString.swift:419:11: Warning: Else branches should be avoided when the previous if-block exits the current scope (superfluous_else)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/CommandLine.swift:71:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Array.swift:455:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Array.swift:510:11: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Array.swift:1418:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Array.swift:1420:7: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Array.swift:1428:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Array.swift:1430:7: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Array.swift:1438:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Array.swift:1440:7: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Array.swift:1588:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Array.swift:1624:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Array.swift:1956:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Array.swift:1957:7: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/Array.swift:1992:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/ManagedBuffer.swift:113:9: Warning: Directly return the expression instead of assigning it to a variable first (direct_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/ManagedBuffer.swift:121:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/ManagedBuffer.swift:128:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/ManagedBuffer.swift:183:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/ManagedBuffer.swift:183:61: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/ManagedBuffer.swift:192:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/ManagedBuffer.swift:192:51: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/ManagedBuffer.swift:553:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/ManagedBuffer.swift:563:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/ManagedBuffer.swift:624:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/UnicodeHelpers.swift:234:9: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/UnicodeHelpers.swift:424:9: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:427:27: Warning: Attributes should be on their own lines in functions and types, but on the same line as variables and imports (attributes)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:520:9: Warning: Attributes should be on their own lines in functions and types, but on the same line as variables and imports (attributes)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:576:12: Warning: Attributes should be on their own lines in functions and types, but on the same line as variables and imports (attributes)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:399:9: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:402:12: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:408:69: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:417:13: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:427:42: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:439:28: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:443:19: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:444:16: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:448:50: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:453:12: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:462:69: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:471:13: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:476:67: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:484:24: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:496:58: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:498:19: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:505:63: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:517:47: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:524:39: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:531:19: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:532:71: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:544:20: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:549:68: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:555:73: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:561:77: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:563:27: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:568:69: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:576:44: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:520:9: Warning: All declarations should specify Access Control Level keywords explicitly (explicit_acl)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:404:13: Warning: Properties should have a type interface (explicit_type_interface)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:449:13: Warning: Properties should have a type interface (explicit_type_interface)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:458:13: Warning: Properties should have a type interface (explicit_type_interface)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:480:9: Warning: Properties should have a type interface (explicit_type_interface)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:481:9: Warning: Properties should have a type interface (explicit_type_interface)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:482:9: Warning: Properties should have a type interface (explicit_type_interface)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:483:9: Warning: Properties should have a type interface (explicit_type_interface)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:556:9: Warning: Properties should have a type interface (explicit_type_interface)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:562:9: Warning: Properties should have a type interface (explicit_type_interface)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:408:66: Warning: Force unwrapping should be avoided (force_unwrapping)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:412:43: Warning: Force unwrapping should be avoided (force_unwrapping)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:462:66: Warning: Force unwrapping should be avoided (force_unwrapping)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:466:43: Warning: Force unwrapping should be avoided (force_unwrapping)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:483:9: Error: Variable name 'p' should be between 3 and 40 characters long (identifier_name)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:484:9: Error: Variable name 'i' should be between 3 and 40 characters long (identifier_name)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:524:17: Error: Variable name '_doNotCallMeBase' should only contain alphanumeric and other allowed characters (identifier_name)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:542:17: Error: Function name 'withVerbatimBridgedUnsafeBuffer(:)' should start with a lowercase character (identifier_name)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:549:17: Error: Function name '_getNonVerbatimBridgingBuffer()' should start with a lowercase character (identifier_name)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:69:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:75:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:99:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:169:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:176:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ This PR introduced a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:182:5: Warning: Prefer implicit returns in closures, functions and getters (implicit_return)
⚠️ Danger found 615 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 151.
315 Messages
📖 Linting Aerial with this PR took 0.82 s vs 1.06 s on main (22% faster).
📖 Linting Alamofire with this PR took 1.03 s vs 1.43 s on main (27% faster).
📖 Linting Brave with this PR took 7.14 s vs 9.86 s on main (27% faster).
📖 Linting DuckDuckGo with this PR took 19.05 s vs 25.73 s on main (25% faster).
📖 Linting Firefox with this PR took 8.8 s vs 12.22 s on main (27% faster).
📖 Linting Kickstarter with this PR took 8.92 s vs 11.5 s on main (22% faster).
📖 Linting Moya with this PR took 0.45 s vs 0.57 s on main (21% faster).
📖 Linting NetNewsWire with this PR took 2.38 s vs 3.24 s on main (26% faster).
📖 Linting Nimble with this PR took 0.65 s vs 0.86 s on main (24% faster).
📖 Linting PocketCasts with this PR took 7.19 s vs 9.49 s on main (24% faster).
📖 Linting Quick with this PR took 0.42 s vs 0.5 s on main (16% faster).
📖 Linting Realm with this PR took 3.48 s vs 4.92 s on main (29% faster).
📖 Linting Sourcery with this PR took 1.87 s vs 2.5 s on main (25% faster).
📖 Linting Swift with this PR took 4.27 s vs 5.71 s on main (25% faster).
📖 Linting VLC with this PR took 1.12 s vs 1.5 s on main (25% faster).
📖 Linting Wire with this PR took 16.84 s vs 22.88 s on main (26% faster).
📖 Linting WordPress with this PR took 9.45 s vs 13.12 s on main (27% faster).
📖 This PR fixed a violation in Swift: /stdlib/public/core/UnsafeRawPointer.swift:453:28: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UnsafeRawPointer.swift:1292:28: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UnsafeRawPointer.swift:218:47: Warning: Parameter 'other' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UnsafeRawPointer.swift:248:33: Warning: Parameter 'other' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UnsafeRawPointer.swift:280:47: Warning: Parameter 'other' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UnsafeRawPointer.swift:832:47: Warning: Parameter 'other' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UnsafeRawPointer.swift:858:40: Warning: Parameter 'other' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UnsafeRawPointer.swift:1646:33: Warning: Parameter 'from' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UnsafeRawPointer.swift:1659:33: Warning: Parameter 'from' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UTF8SpanInternalHelpers.swift:15:18: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UTF8SpanInternalHelpers.swift:44:26: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UTF8SpanInternalHelpers.swift:45:26: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UTF8SpanInternalHelpers.swift:65:18: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UTF8SpanInternalHelpers.swift:143:18: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UTF8SpanInternalHelpers.swift:154:18: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UTF8SpanInternalHelpers.swift:169:15: Warning: Parameter 'end' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Diffing.swift:230:9: Warning: Parameter 'cmp' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/DictionaryStorage.swift:273:15: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/DictionaryStorage.swift:279:15: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/DictionaryStorage.swift:393:18: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/DictionaryStorage.swift:245:45: Warning: Parameter 'key' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/BridgeObjectiveC.swift:505:36: Warning: Parameter 'from' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/BridgeObjectiveC.swift:535:22: Warning: Parameter 'from' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/BridgeObjectiveC.swift:561:22: Warning: Parameter 'other' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/BridgeObjectiveC.swift:587:22: Warning: Parameter 'other' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/EmbeddedPrint.swift:39:21: Warning: Unused parameter in a closure should be replaced with _ (unused_closure_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/EmbeddedPrint.swift:54:21: Warning: Unused parameter in a closure should be replaced with _ (unused_closure_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/EmbeddedPrint.swift:39:21: Warning: Parameter 'buf' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/EmbeddedPrint.swift:54:21: Warning: Parameter 'buf' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/EmbeddedPrint.swift:66:14: Warning: Parameter 'buf' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/EmbeddedPrint.swift:77:24: Warning: Parameter 'buf' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:148:11: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:149:11: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:158:11: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:159:11: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:209:23: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:210:25: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:425:33: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:432:19: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:442:19: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:515:13: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:516:13: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:584:28: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:585:13: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:600:13: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:618:23: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:619:11: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:620:11: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:649:14: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:694:11: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:696:11: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:731:24: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:732:26: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:748:13: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:749:13: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:625:11: Warning: Parameter 'bitset' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/NativeDictionary.swift:852:7: Warning: Parameter 'isIncluded' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Pointer.swift:61:18: Warning: Parameter 'from' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Unicode.swift:650:8: Warning: Parameter 'input' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/ArrayShared.swift:386:15: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/CommandLine.swift:42:17: Warning: public declarations should be documented (missing_docs)
📖 This PR fixed a violation in Swift: /stdlib/public/core/CString.swift:369:7: Warning: Parameter 'cString' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Array.swift:997:40: Warning: Multiline arguments should have their surrounding brackets in a new line (multiline_arguments_brackets)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Array.swift:926:11: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Array.swift:971:18: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Array.swift:994:18: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Array.swift:1182:11: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Array.swift:1292:17: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Array.swift:1320:25: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Array.swift:1353:25: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Array.swift:1507:18: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Array.swift:1522:11: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UnicodeHelpers.swift:76:20: Warning: Multiline arguments should have their surrounding brackets in a new line (multiline_arguments_brackets)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UnicodeHelpers.swift:81:8: Warning: Multiline arguments should have their surrounding brackets in a new line (multiline_arguments_brackets)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UnicodeHelpers.swift:72:24: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UnicodeHelpers.swift:73:24: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UnicodeHelpers.swift:76:18: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:398:18: Warning: Use named arguments in multiline closures (anonymous_argument_in_multiline_closure)
📖 This PR fixed a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:554:28: Warning: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
📖 This PR fixed a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:560:33: Warning: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
📖 This PR fixed a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:398:9: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:398:9: Warning: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
📖 This PR fixed a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:378:3: Warning: A 'deinitializer' should not be placed amongst the type content(s) 'other_method' (type_contents_order)
📖 This PR fixed a violation in Swift: /stdlib/public/core/SwiftNativeNSArray.swift:383:7: Warning: Parameter 'body' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/ManagedBuffer.swift:590:18: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/ManagedBuffer.swift:601:18: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/StringBridge.swift:339:10: Error: Duplicate sets of conditions in the same branch instruction should be avoided (duplicate_conditions)
📖 This PR fixed a violation in Swift: /stdlib/public/core/StringBridge.swift:341:10: Error: Duplicate sets of conditions in the same branch instruction should be avoided (duplicate_conditions)
📖 This PR fixed a violation in Swift: /stdlib/public/core/SliceBuffer.swift:319:14: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/ArraySlice.swift:895:11: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/ArraySlice.swift:1162:18: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/ArraySlice.swift:1218:36: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/ArraySlice.swift:1318:36: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Runtime.swift:445:43: Warning: Unused parameter in a closure should be replaced with _ (unused_closure_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Runtime.swift:440:5: Warning: Parameter 'value' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Runtime.swift:441:3: Warning: Parameter 'debug' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Runtime.swift:445:43: Warning: Parameter 'bufferPtr' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Runtime.swift:467:5: Warning: Parameter 'buffer' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Runtime.swift:468:5: Warning: Parameter 'bufferLength' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Runtime.swift:469:5: Warning: Parameter 'value' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Runtime.swift:470:5: Warning: Parameter 'radix' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Runtime.swift:471:5: Warning: Parameter 'uppercase' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/StringTesting.swift:169:30: Warning: Arguments should be either on the same line, or one per line (multiline_arguments)
📖 This PR fixed a violation in Swift: /stdlib/public/core/StringTesting.swift:169:52: Warning: Multiline arguments should have their surrounding brackets in a new line (multiline_arguments_brackets)
📖 This PR fixed a violation in Swift: /stdlib/public/core/StringTesting.swift:187:28: Warning: Multiline arguments should have their surrounding brackets in a new line (multiline_arguments_brackets)
📖 This PR fixed a violation in Swift: /stdlib/public/core/StringTesting.swift:165:22: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/StringTesting.swift:182:18: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/StringTesting.swift:203:18: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/ArrayCast.swift:58:5: Warning: Parameter 'source' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/VarArgs.swift:685:20: Warning: Multiline arguments should have their surrounding brackets in a new line (multiline_arguments_brackets)
📖 This PR fixed a violation in Swift: /stdlib/public/core/VarArgs.swift:686:49: Warning: Multiline arguments should have their surrounding brackets in a new line (multiline_arguments_brackets)
📖 This PR fixed a violation in Swift: /stdlib/public/core/VarArgs.swift:685:18: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/VarArgs.swift:686:7: Warning: Function parameters should be aligned vertically if they're in multiple lines in a method call (vertical_parameter_alignment_on_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/SetStorage.swift:224:15: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/StringUTF8View.swift:329:34: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/StringUTF8View.swift:524:18: Warning: Parameter 'buffer' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/RuntimeFunctionCounters.swift:518:3: Warning: Parameter 'objects' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/StringGuts.swift:178:43: Warning: Unused parameter in a closure should be replaced with _ (unused_closure_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/StringGuts.swift:175:5: Warning: Parameter 'range' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/StringGuts.swift:178:43: Warning: Parameter 'wholeUTF8' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/StringGuts.swift:536:31: Warning: Parameter 'p' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/MigrationSupport.swift:492:18: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/ReflectionMirror.swift:283:3: Warning: Parameter 'body' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/ReflectionMirror.swift:331:3: Warning: Parameter 'body' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UnsafeBufferPointerSlice.swift:763:18: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/UnsafeBufferPointerSlice.swift:838:18: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/DictionaryBuilder.swift:80:34: Warning: Parameter 'capacity' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/DictionaryBuilder.swift:81:5: Warning: Parameter 'allowingDuplicates' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/DictionaryBuilder.swift:82:22: Warning: Parameter 'initializer' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/ArrayBuffer.swift:658:34: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/EmbeddedRuntime.swift:257:12: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/EmbeddedRuntime.swift:398:27: Warning: Don't add a space between the method name and the parentheses (no_space_in_method_call)
📖 This PR fixed a violation in Swift: /stdlib/public/core/EmbeddedRuntime.swift:208:82: Warning: Parameter 'metadata' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/EmbeddedRuntime.swift:282:49: Warning: Parameter 'object' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/EmbeddedRuntime.swift:282:82: Warning: Parameter 'targetMetadata' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/Substring.swift:1104:72: Warning: Multiline arguments should have their surrounding brackets in a new line (multiline_arguments_brackets)
📖 This PR fixed a violation in Swift: /stdlib/public/core/SmallString.swift:363:30: Warning: Parameter 'cocoa' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/SmallString.swift:384:35: Warning: Parameter 'cocoa' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/DictionaryCasting.swift:120:5: Warning: Parameter 'source' is unused; consider removing or replacing it with '_' (unused_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/StringGutsRangeReplaceable.swift:143:64: Warning: Unused parameter in a closure should be replaced with _ (unused_closure_parameter)
📖 This PR fixed a violation in Swift: /stdlib/public/core/StringGutsRangeReplaceable.swift:207:79: Warning: Unused parameter in a closure should be replaced with _ (unused_closure_parameter)
⚠️ Danger found 315 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 158.

Generated by 🚫 Danger

@SimplyDanny
Copy link
Collaborator Author

New and fixed violations in the Swift repository are all related to the new unsafe keyword the parser is now able to interpret correctly.

Performance improved significantly again. 🎉

@jpsim
Copy link
Collaborator

jpsim commented Jun 18, 2025

Amazing!

image

@SimplyDanny
Copy link
Collaborator Author

Amazing!

Indeed! They are really doing a great job improving performance with every release. Similar numbers could be seen in previous updates too.

@SimplyDanny SimplyDanny changed the title Test performance of SwiftSyntax 6.2 pre-release Test performance of SwiftSyntax 6.2 pre-release 2025-05-29 Jun 29, 2025
@SimplyDanny SimplyDanny changed the title Test performance of SwiftSyntax 6.2 pre-release 2025-05-29 Use SwiftSyntax 6.2 pre-release 2025-05-29 Jun 29, 2025
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.

3 participants