detekt / detekt

Static code analysis for Kotlin
https://detekt.dev
Apache License 2.0
6.07k stars 751 forks source link

Don't pass FileBasedDeclarationProviderFactory explicitly #7243

Closed 3flex closed 2 weeks ago

3flex commented 2 weeks ago

This is the default value for the parameter so there's no need to pass it through.

detekt-ci commented 2 weeks ago
Warnings
:warning: It looks like this PR contains functional changes without a corresponding test.

Generated by :no_entry_sign: dangerJS against 5d873a942f3368c9ded28435371b1cb645aa4621

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 84.70%. Comparing base (db36aac) to head (5d873a9).

Files Patch % Lines
...lin/io/github/detekt/parser/BindingContextUtils.kt 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7243 +/- ## ========================================= Coverage 84.70% 84.70% Complexity 3992 3992 ========================================= Files 578 578 Lines 12164 12163 -1 Branches 2495 2495 ========================================= Hits 10303 10303 + Misses 627 626 -1 Partials 1234 1234 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.