update phpdoc to latest
fix self-test