我在命令行上运行它:phpunit --version
我收到以下错误:
PHP Warning: require_once(File/Iterator/Autoload.php): failed to open stream: No such file or directory in /usr/lib/php/pear/PHPUnit/Autoload.php on line 45
PHP Fatal error: require_once(): Failed opening required 'File/Iterator/Autoload.php' (include_path='.:/Users/dennismonsewicz/pear/share/pear:/usr/local/share/pear:/usr/lib/php/pear/PHPUnit') in /usr/lib/php/pear/PHPUnit/Autoload.php on line 45
其他人遇到这些问题?当我尝试通过命令行运行测试时,它也会引起我的问题。
答案 0 :(得分:3)
结束了我的include_path
的问题这是我更新的包含路径
include_path = ".:/php/includes:/usr/lib/php/pear"