Fix php validation plugin to use placeholders