I think it's fine to remove ext-xdebug check because this extension is required when PHPUnit need to generate the coverage report.
In Travis CI build, the phpunit command just do the unit test work, not generating code coverage report.
It will be worked fine in the latest Travis CI build.
According to this issue discussion thread, the php-nightly version is not loaded the XDebug extension in Travis CI build.
Also, add the php-7.3 test during Travis CI build because this PHP version is stable.
Changed log
ext-xdebug
check because this extension is required whenPHPUnit
need to generate the coverage report. In Travis CI build, thephpunit
command just do the unit test work, not generating code coverage report.php-nightly
version is not loaded theXDebug
extension in Travis CI build.php-7.3
test during Travis CI build because this PHP version is stable.