v2.0.0a2→v2.0.0a10にバージョンを上げてみたら起きた。
pearのアップグレード自体は以下の通り簡単に通ったんだけど、
$ pear upgrade phpdoc/phpDocumentor-alpha PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0 downloading phpDocumentor-2.0.0a10.tgz ... Starting to download phpDocumentor-2.0.0a10.tgz (1,570,756 bytes) .......................................................................done: 1,570,756 bytes upgrade ok: channel://pear.phpdoc.org/phpDocumentor-2.0.0a10
Jenkinsでビルドすると以下のエラーが出力された。
———————————————————————-
Cannot redeclare class phpDocumentor\Bootstrap in /usr/share/pear/phpDocumentor/src/phpDocumentor/Bootstrap.php ~
———————————————————————-
http://www.phing.info/trac/ticket/903とか見ると2.0.0a3なら大丈夫そうなので、バージョン指定で2.0.3aをインストールしてみた。
pear uninstall phpdoc/phpDocumentor-2.0.0a10 pear install phpdoc/phpDocumentor-2.0.0a3
2.0.0a2の時にもうまくいかないことがあったけど、まだα版だししょうがないかな。