Update coding style for php template generation.