## Expected Behavior of the rule When detekt comes across a `require` call that is just checking that a property is not null, suggest replacing with `requireNotNull`. ## Context https://github.com/detekt/detekt/pull/2336 And also: https://github.com/detekt/detekt/blob/102c28d67bca28035cb9fcd8af04a78e7c852bcd/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/KtFileModifier.kt#L27
Expected Behavior of the rule
When detekt comes across a
requirecall that is just checking that a property is not null, suggest replacing withrequireNotNull.Context
#2336
And also:
detekt/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/KtFileModifier.kt
Line 27 in 102c28d