You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Almost every of them triggers function_parameter_count.
It also happens with a lot of services/viewModels due to heavy usage of constructor injection.
When I implemented this rule first I was thinking about it as a guideline which helps to expose "complex" behaviours and function calls, but I tend to think now that init should be excluded by default.
Happy to do a PR but it's a controversial change so should be discussed first.
The text was updated successfully, but these errors were encountered:
I have a lot of immutable models in the project (probably everyone has nowadays).
Almost every of them triggers
function_parameter_count
.It also happens with a lot of services/viewModels due to heavy usage of constructor injection.
When I implemented this rule first I was thinking about it as a guideline which helps to expose "complex" behaviours and function calls, but I tend to think now that
init
should be excluded by default.Happy to do a PR but it's a controversial change so should be discussed first.
The text was updated successfully, but these errors were encountered: