Skip to content

Cleaning old code #4000

Cleaning old code

Cleaning old code #4000

Triggered via pull request June 5, 2024 16:25
@marinofaggianamarinofaggiana
ready_for_review #2941
cleaning
Status Success
Total duration 1m 25s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Lint: File Provider Extension/FileProviderEnumerator.swift#L113
Non-Optional String <-> Data Conversion Violation: Prefer using UTF-8 encoded strings when converting between `String` and `Data` (non_optional_string_data_conversion)
Lint: File Provider Extension/FileProviderEnumerator.swift#L155
Non-Optional String <-> Data Conversion Violation: Prefer using UTF-8 encoded strings when converting between `String` and `Data` (non_optional_string_data_conversion)
Lint: File Provider Extension/FileProviderEnumerator.swift#L160
Non-Optional String <-> Data Conversion Violation: Prefer using UTF-8 encoded strings when converting between `String` and `Data` (non_optional_string_data_conversion)
Lint: File Provider Extension/FileProviderEnumerator.swift#L192
Non-Optional String <-> Data Conversion Violation: Prefer using UTF-8 encoded strings when converting between `String` and `Data` (non_optional_string_data_conversion)
Lint: iOSClient/Activity/NCActivityTableViewCell.swift#L37
Unneeded Overridden Functions Violation: Remove overridden functions that don't do anything except call their super (unneeded_override)
Lint: iOSClient/Share/NCShare.swift#L279
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
Lint: iOSClient/Extensions/Data+Extension.swift#L33
Non-Optional String <-> Data Conversion Violation: Prefer using UTF-8 encoded strings when converting between `String` and `Data` (non_optional_string_data_conversion)
Lint: iOSClient/Extensions/Data+Extension.swift#L47
Non-Optional String <-> Data Conversion Violation: Prefer using UTF-8 encoded strings when converting between `String` and `Data` (non_optional_string_data_conversion)
Lint: iOSClient/Notification/NCNotification.swift#L352
Unneeded Overridden Functions Violation: Remove overridden functions that don't do anything except call their super (unneeded_override)
Lint: iOSClient/Media/NCMediaLayout.swift#L121
Control Statement Violation: `if`, `for`, `guard`, `switch`, `while`, and `catch` statements shouldn't unnecessarily wrap their conditionals or arguments in parentheses (control_statement)