This is trying to install phpDocumentor on ubuntu server 16.04 via pear but it gives me an error. I execute the following commands:
pear channel-discover pear.phpdoc.org
pear install phpdoc/phpDocumentor
When executing the second command it gives me the following error:
PHP Fatal error: Cannot use result of built-in function in write context in /usr/share/php/Archive/Tar.php on line 639
I have php 7.2.5. I need to install it to use it with jenkins, any solution?