ignore phpstorm files.

Signed-off-by: Peter Chester <peter@tri.be>
fix minor php warning caused by undeclared vars.

Signed-off-by: Peter Chester <peter@tri.be>