Skip to content

Fix SonarCloud "Cognitive Complexity" warning in NetceteraThreeDSController #608

Fix SonarCloud "Cognitive Complexity" warning in NetceteraThreeDSController

Fix SonarCloud "Cognitive Complexity" warning in NetceteraThreeDSController #608

Triggered via pull request June 17, 2024 06:31
Status Failure
Total duration 3m 36s
Artifacts 1

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 4 warnings
lint: OmiseSDK/Sources/3DS/NetceteraThreeDSController.swift#L153
Superfluous Disable Command Violation: SwiftLint rule 'function_body_length' did not trigger a violation in the disabled region; remove the disable command (superfluous_disable_command)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Sonar scan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "artifact". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
artifact Expired
537 KB