Wouldn't this cause tests to stop running for web interface since `php_sapi_name() === 'cli'` will be false?