如何解决Composer 自动加载问题“不符合 psr-0 自动加载标准跳过”错误并且类不是自动加载的
我知道之前有人问过这个问题,但该解决方案对我不起作用。 此外,它以前工作正常,突然它开始向我发出此错误。
composer.json
"autoload": {
"psr-0": {
"FiveCRM": "includes","AdditionalFields": "includes","AccountList": "includes"
}
},
作曲家 dumpautoload -o
Generating optimized autoload files
Class FiveCRM\UserTeams\Picture\UserTeamPictureService located in ./includes/UserTeams/Picture/UserTeamPictureService.PHP does not comply with psr-0 autoloading standard. Skipping.
Class FiveCRM\UserTeams\UserTeamMember located in ./includes/UserTeams/UserTeamMember.PHP does not comply with psr-0 autoloading standard. Skipping.
Class FiveCRM\UserTeams\UserTeamMemberService located in ./includes/UserTeams/UserTeamMemberService.PHP does not comply with psr-0 autoloading standard. Skipping.
Class FiveCRM\UserTeams\UserTeam located in ./includes/UserTeams/UserTeam.PHP does not comply with psr-0 autoloading standard. Skipping.
Class FiveCRM\UserTeams\UserTeamService located in ./includes/UserTeams/UserTeamService.PHP does not comply with psr-0 autoloading standard. Skipping.
PS:我的另一位同事在使用相同版本的作曲家和相同的代码库时没有遇到此问题。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。