Format classes to PSR-2 standard