回购是template-PHP-project。当我在packagist.org上使用提交功能时,我会弹出一个只显示“SELECT *
FROM Post p
WHERE EXISTS
(
SELECT 1 FROM BlogCategory
WHERE PostId = p.PostID AND BlogId = &id
);
”的弹出窗口。
显然我的undefined
有问题,但我不知道是什么。 (我可以毫无错误地运行 composer.json
。)它包含以下内容:
composer update
答案 0 :(得分:1)
尝试使用composer validate
命令。
我刚刚在本地验证了您的文件,唯一的错误是关于许可证。修复并再次检查。
$ composer validate
./composer.json is valid, but with a few warnings
See https://getcomposer.org/doc/04-schema.md for details on the schema
License "GPL" is not a valid SPDX license identifier, see https://spdx.org/licenses/ if you use an open license.
If the software is closed-source, you may use "proprietary" as license.