Merge pull request #3240 from 9rnsr/fix12124

Issue 12124 - Never be used static opCall should be reported
Merge pull request #3274 from 9rnsr/2.065

Pick up changes from master to 2.065 branch