FunctionMaxLength false positive for overridden methods #5590#5599
Conversation
Codecov Report
@@ Coverage Diff @@
## main #5599 +/- ##
===========================================
+ Coverage 0 85.90% +85.90%
- Complexity 0 3645 +3645
===========================================
Files 0 516 +516
Lines 0 12191 +12191
Branches 0 2175 +2175
===========================================
+ Hits 0 10473 +10473
- Misses 0 628 +628
- Partials 0 1090 +1090
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
BraisGabin
left a comment
There was a problem hiding this comment.
Thanks! LGTM
I see that you copied the description of this parameter from other rules so we should merge this as it is. But probably we could improve the description on other pr. More than function with the override modifier I would call them override functions.
|
Fixes #5590 |
|
@BraisGabin putting "fixes" in a comment, doesn't trigger GitHub to pick it up, it has to be in OP, or manually linked in the sidebar. (I added it manually) |
Following rules were reworked to always ignore overriden methods/properties: - `FunctionMaxLength` - `FunctionMinLength` - `VariableMaxLength` - `VariableMinLength`
By analogy with other naming rules a new
ignoreOverriddenproperty with default valuetruewas introduced for following rules:FunctionMaxLengthFunctionMinLengthVariableMaxLengthVariableMinLength