phpunit Warning “The attribute ‘syntaxCheck’ is not allowed.”
报错详情如下
Warning - The configuration file did not pass validation! The following problems have been detected: Line 11: - Element 'phpunit', attribute 'syntaxCheck': The attribute 'syntaxCheck' is not allowed. Test results may not be as expected.
意思就是phpunit下的syntaxCheck这个属性不允许存在(大概是这个意思),把这个属性删掉就可以了,其位置如下: