Skip to content

Merge pull request #457 from ivpn/bugfix/ios18-shortcuts #1139

Merge pull request #457 from ivpn/bugfix/ios18-shortcuts

Merge pull request #457 from ivpn/bugfix/ios18-shortcuts #1139

Triggered via push September 17, 2024 05:18
Status Success
Total duration 28s
Artifacts

swiftlint.yml

on: push
SwiftLint
20s
SwiftLint
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
SwiftLint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
SwiftLint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
SwiftLint: IVPNClient/Managers/APIClient.swift#L131
Cyclomatic Complexity Violation: Function should have complexity 15 or less: currently complexity equals 18 (cyclomatic_complexity)
SwiftLint: IVPNClient/Managers/PurchaseManager.swift#L45
Redundant Optional Initialization Violation: Initializing an optional variable with nil is redundant. (redundant_optional_initialization)
SwiftLint: IVPNClient/Managers/PurchaseManager.swift#L50
Unused Optional Binding Violation: Prefer `!= nil` over `let _ =` (unused_optional_binding)
SwiftLint: IVPNClient/Scenes/MainScreen/ControlPanel/FloatingPanelMainLayout.swift#L233
Trailing Newline Violation: Files should have a single trailing newline. (trailing_newline)
SwiftLint: IVPNClient/Scenes/MainScreen/ControlPanel/ControlPanelViewController+Ext.swift#L224
Cyclomatic Complexity Violation: Function should have complexity 15 or less: currently complexity equals 31 (cyclomatic_complexity)
SwiftLint: IVPNClient/Scenes/ViewControllers/ProtocolViewController.swift#L258
Cyclomatic Complexity Violation: Function should have complexity 15 or less: currently complexity equals 39 (cyclomatic_complexity)
SwiftLint: IVPNClient/Scenes/ViewControllers/MTUViewController.swift#L103
Trailing Newline Violation: Files should have a single trailing newline. (trailing_newline)
SwiftLint: IVPNClient/Scenes/Signup/LoginViewController.swift#L384
Cyclomatic Complexity Violation: Function should have complexity 15 or less: currently complexity equals 31 (cyclomatic_complexity)
SwiftLint: IVPNClient/Utilities/Extensions/TunnelKit+Ext.swift#L32
Nesting Violation: Types should be nested at most 1 level deep (nesting)
SwiftLint: IVPNClient/Models/V2Ray/V2RayConfig.swift#L66
Nesting Violation: Types should be nested at most 1 level deep (nesting)