Added constraints PHP format and some code tweaks

This PR adds the PHP format for all PHP constraints, namespaces in every Yml and PHP format and fixes some spacing issues.

I think this is my last PR this year (well, I hope it is) so: Happy new Year :fireworks: to every Symfony contributor and especially @weaverryan!