Fixed PSR-2 issues.
Removed stylecow branch alias from composer.json.
Changed use of __toString() method to (string) typecast.