Added PHP 5.6 environment for travis-ci
Fix bug when snippet is not found