Added all php file headers

* Also fixed some php-cs
* Fixed test file namespace