realm / SwiftLint

A tool to enforce Swift style and conventions.
https://realm.github.io/SwiftLint
MIT License
18.46k stars 2.2k forks source link

Extract method for common code and make signatures swiftier #5554

Closed SimplyDanny closed 2 months ago

SwiftLintBot commented 2 months ago
2 Warnings
:warning: If this is a user-facing change, please include a CHANGELOG entry to credit yourself!
You can find it at CHANGELOG.md.
:warning: This PR may need tests.
17 Messages
:book: Linting Aerial with this PR took 0.18s vs 0.17s on main (5% slower)
:book: Linting Alamofire with this PR took 0.16s vs 0.16s on main (0% slower)
:book: Linting Brave with this PR took 0.66s vs 0.66s on main (0% slower)
:book: Linting DuckDuckGo with this PR took 0.51s vs 0.51s on main (0% slower)
:book: Linting Firefox with this PR took 1.3s vs 1.3s on main (0% slower)
:book: Linting Kickstarter with this PR took 0.72s vs 0.73s on main (1% faster)
:book: Linting Moya with this PR took 0.11s vs 0.11s on main (0% slower)
:book: Linting NetNewsWire with this PR took 0.27s vs 0.27s on main (0% slower)
:book: Linting Nimble with this PR took 0.13s vs 0.14s on main (7% faster)
:book: Linting PocketCasts with this PR took 0.66s vs 0.66s on main (0% slower)
:book: Linting Quick with this PR took 0.1s vs 0.1s on main (0% slower)
:book: Linting Realm with this PR took 0.51s vs 0.51s on main (0% slower)
:book: Linting Sourcery with this PR took 0.32s vs 0.32s on main (0% slower)
:book: Linting Swift with this PR took 0.42s vs 0.42s on main (0% slower)
:book: Linting VLC with this PR took 0.18s vs 0.18s on main (0% slower)
:book: Linting Wire with this PR took 1.71s vs 1.71s on main (0% slower)
:book: Linting WordPress with this PR took 1.02s vs 1.02s on main (0% slower)

Here's an example of your CHANGELOG entry:

* Extract method for common code and make signatures swiftier.  
  [SimplyDanny](https://github.com/SimplyDanny)
  [#issue_number](https://github.com/realm/SwiftLint/issues/issue_number)

note: There are two invisible spaces after the entry's text.

Generated by :no_entry_sign: Danger