运行phpunit的时候加上参数 --stderr ./vendor/bin/phpunit --stderr 转载于:https://www.cnblogs.com/eleven24/p/8538944.html