[WIP] Doctrine CS

This PR is mainly in place to test doctrine's new doctrine/coding-standard repository by @deeky666

Will fix the warnings soon