./vendor/bin/phpunit --coverage-clover=coverage.xml test
PHPUnit 5.7.27 by Sebastian Bergmann and contributors.
Use of undefined constant XDEBUG_CC_UNUSED - assumed 'XDEBUG_CC_UNUSED' (this will throw an Error in a future version of PHP)
The command "./vendor/bin/phpunit --coverage-clover=coverage.xml test" exited with 2.
比如 #216 在其他版本的 PHP 上都跑过了,但是 7.3 和 7.4 没过:
这个
XDEBUG_CC_UNUSED
来自 phpunit奇怪的是,我在本地跑没能复现这个问题。难道是 travis CI 上的 PHP 有小版本差异还是有什么特殊配置?