Update function snippets to play well with evil

java-mode and php-mode