Hyperactive warning generator for return statements in void methods
Current state
Whenever an if-else block is used at the end of a method, a warning if generate to transform the block to a single return statement “return ? : ;”. For void methods, this is not possible.
Proposed solution
Modify the warning generator to not emit a warning for void methods.
(from redmine: issue id 3645, created on 2019-02-21, closed on 2019-05-06)