zhwei

项目目录结构如图: composer 配置 "repositories": { "packagist": { "type": "composer", "url": "https://mirrors.aliyun.com/composer/" }, "lego": { "type": "path", "url": "./lego" } }, 本地能正常使用,执行 lean deploy 时遇到下面报错 [REMOTE] [ERROR] 部署失败:Loading composer repositories with package information Installing dependenci…

源代码: https://github.com/zhwei/lego-demo/tree/leancloud

抱歉忘记备注了,需要初始化一下 submodule git submodule init git submodule update

奇怪啊,我 clone 下来执行 composer install 是没有任何问题的,用的也是 7.3.24 weakish: PHP Fatal error: Default value for parameters with a class type hint can only be NULL in /home/ubuntu/lego-demo/vendor/phpunit/phpunit/src/Framework/Assert/Functions.php on line 89 另外这一行的 type hint 也没有 class 呀 function assertArrayHasKey…

使用 git 替代掉了,云引擎构建过程不是在上传的代码目录执行的吗