generating the missing methods by php app/console generate:doctrine:entities ModelBundle:Post/Author
fix PHP coding standards