Redundant closing tag
Unreachable statements
Updated PHPDoc
Duplicate array key
Expression result unused
Missing 'break' statement
The left and the right parts of assignment are equal
$args as an int val to sum 1
Merge pull request #715 from kesar/refactoring_PSR-2

small fixes