Add defaultpackagename and validate to phpdoc