Error parsing php completions due to trailing ,