framework icon indicating copy to clipboard operation
framework copied to clipboard

你们的Travis CI上的PHP 5环境自动测试脚本是不是有问题了?

Open hmczju opened this issue 9 years ago • 1 comments

我昨天提交了个修复当设置数据库断线重连后,当断线后执行启动事务startTrans不会进行重连bug,提交的代码,Travis CI上php 7环境测试通过,hhvm测试通过,但是PHP 5环境全部提示一个测试脚本语法错误

 [think\exception\ErrorException]                    
  syntax error, unexpected ':', expecting ';' or '{' 

Exception trace:
 () at /home/travis/build/top-think/framework/vendor/doctrine/instantiator/src/Doctrine/Instantiator/Instantiator.php:95
 think\Error::appShutdown() at n/a:n/a

我看在我之后的其他人提交的bug也都出现了这个问题

hmczju avatar Jul 27 '17 07:07 hmczju

doctrine/instantiator 近期的一个修改导致其不兼容 PHP 7 之前版本,我正在寻找依赖关系以降级 doctrine/instantiator

kinosang avatar Jul 27 '17 07:07 kinosang