Error
- Syncing phpunit/phpunit (6.5.14) into cache The following exception is caused by a process timeout Check https://getcomposer.org/doc/06-config.md#process-timeout for details
[Symfony\Component\Process\Exception\ProcessTimedOutException]
The process "git clone --mirror -- 'https://github.com/sebastianbergmann/phpunit.git' '/root/.cache/composer/vcs/https---github.com-sebastianbergmann-phpunit.git/'" exceed
ed the timeout of 300 seconds.
solution:
Altough the timeout option does not exist, this is a timeout from composer and it can be extended by:
$ export COMPOSER_PROCESS_TIMEOUT=600