ejmr/php-auto-yasnippets — pull request #2 by glynnforrest (2013-06-19 21:03:35+00:00)
Title: Update check for cli to not throw an error

Thanks for the great plugin! This is just what I needed.

I ran the php script from the command line outside of emacs and got the error

Notice: Undefined index: SERVER_NAME

On my system $_SERVER["SERVER_NAME"] is not defined when running php from the command line, so I changed the conditional to an isset to account for that.