Skip to content

Backend: Allow Parameterless Handling of SkyHanniEvent(s) #1462

Backend: Allow Parameterless Handling of SkyHanniEvent(s)

Backend: Allow Parameterless Handling of SkyHanniEvent(s) #1462

Triggered via pull request December 14, 2024 08:13
Status Failure
Total duration 6m 11s
Artifacts 1

detekt.yml

on: pull_request_target
Comment detekt failures on PR
9s
Comment detekt failures on PR
Fit to window
Zoom out
Zoom in

Annotations

1 error and 7 warnings
Run detekt
Process completed with exit code 1.
Run detekt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
detekt.style.ThrowsCount: src/main/java/at/hannibal2/skyhanni/api/event/EventListeners.kt#L20
Too many throw statements in the function addListener. The maximum number of allowed throw statements is 2.
detekt.style.MaxLineLength: src/main/java/at/hannibal2/skyhanni/api/event/EventListeners.kt#L35
Line detected, which is longer than the defined maximum line length in the code style.
detekt.style.UseRequire: src/main/java/at/hannibal2/skyhanni/api/event/EventListeners.kt#L35
Use require() instead of throwing an IllegalArgumentException.
detekt.style.UseRequire: src/main/java/at/hannibal2/skyhanni/api/event/EventListeners.kt#L40
Use require() instead of throwing an IllegalArgumentException.
detekt.style.UseRequire: src/main/java/at/hannibal2/skyhanni/api/event/EventListeners.kt#L47
Use require() instead of throwing an IllegalArgumentException.
Comment detekt failures on PR
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
detekt-output
474 Bytes