moved php function snippet open brace to first line