? ? ? ? 在使用PhpStorm的時候束析,經(jīng)常會有在不同項目使用同個類名的情況鄙煤,然后PhpStorm默認(rèn)配置下离唬,會發(fā)出如下警告: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