欢迎光临
我们一直在努力

The complete name should match “[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*”. Make sure you fix this as Composer 2.0 will error.

Deprecation warning: Your package name base is invalid, 
it should have a vendor name, a forward slash, and a package name.
The vendor and package name can be words separated by -, . or _.
The complete name should match "a-z0-9/a-z0-9".
Make sure you fix this as Composer 2.0 will error.

原因

其中name属性为base,不符合composer的命名规范(一个vendor名+ / +包名)组成,全名必须和“a-z0-9/a-z0-9”正则匹配,在Composer2.0里将会属于错误。

解决

将包名改为符合规则的形式1

{
“name”: “somename/base”,
“description”: “System with Yaf.”,
“license”: “BSD-3-Clause”,
“type”: “project”,
“keywords”: [
“base”
]

}

赞(1)
版权归原作者所有,如有侵权请告知。达维营-前端网 » The complete name should match “[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*”. Make sure you fix this as Composer 2.0 will error.

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址