Fix notices in CLI mode
Merge pull request #2 from naumovs/php-notices-under-cli

Fix notices in CLI mode