我想知道什么是"PHPUnit中的严格模式"?
例如:
phpunit --strict
Run Code Online (Sandbox Code Playgroud)
或者在phpunit.xml中
<phpunit strict="true"/>
Run Code Online (Sandbox Code Playgroud)
我打开它只是为了尝试它,我的测试开始失败了
PHP_Invoker_TimeoutException: Execution aborted after 1 second
Run Code Online (Sandbox Code Playgroud)