Add option to add a reason to
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
@@ Coverage Diff @@ ## main #4910 +/- ## ============================================ - Coverage 84.92% 84.91% -0.01% - Complexity 3605 3614 +9 ============================================ Files 502 502 Lines 11873 11887 +14 Branches 2227 2237 +10 ============================================ + Hits 10083 10094 +11 + Misses 691 690 -1 - Partials 1099 1103 +4
VitalyVPinchuk pushed a commit to VitalyVPinchuk/detekt that referenced this pull request
Jul 25, 2022
* Improve tests * Improve issue message * Removes that test support with comma-separated strings * Add support for reasons in ForbiddenMethodCall * Update detekt-rules-style/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/ForbiddenMethodCall.kt Co-authored-by: schalkms <email@example.com> Co-authored-by: schalkms <firstname.lastname@example.org>
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge.