美文网首页
PhpStorm配置

PhpStorm配置

作者: ____lr____ | 来源:发表于2018-08-28 09:24 被阅读0次

        在使用PhpStorm的时候,经常会有在不同项目使用同个类名的情况,然后PhpStorm默认配置下,会发出如下警告:Other declaration of class xxx exist at xxx.php,有点讨厌!我们可以通过修改PhpStorm配置的办法来解决这个问题。

以下是该问题的解决方案:

PhpStorm -> Preferences -> Editor -> Inspections -> PHP -> Undefined -> Undefined class

Don’t report multiple class declaration potential problems

相关文章

网友评论

      本文标题:PhpStorm配置

      本文链接:https://www.haomeiwen.com/subject/gsefkxtx.html