phpdoc and .gitignore updates