This MR fix issue #839. Here the called object method is inside a structure (common pattern for dependency injection). Before the rule was not running for this rules.
The only thing is the function scope is tied to the structure name of the object, not to the object name.
This MR tries to fix this. A test was added to the string-format to evaluate this.
[x] Did you add tests?
[x] Does your code follows the coding style of the rest of the repository?
This MR fix issue #839. Here the called object method is inside a structure (common pattern for dependency injection). Before the rule was not running for this rules.
The only thing is the function scope is tied to the structure name of the object, not to the object name.
This MR tries to fix this. A test was added to the string-format to evaluate this.
Closes #839