* extract the operation out of the loop when possible * remove unnecessary interfaces when already inherited in parent * simplify expressions * avoid using alias functions * redundant phpdoc * unused imports
This turns unused variable detection into an explicit control-flow problem, where before we had a more simplistic mark-and-sweep algorithm