PhpStorm find all deprecated usages in the project

戏子无情 提交于 2019-12-18 11:38:37

问题


I'm working now on a pretty big PHP-project and I want to upgrade Symfony framework to the next version. Before I do that, I want to be sure that there are no deprecated method usages left in the project.

Is there handy way to find all deprecated method usages in PhpStorm?


回答1:


Code | Run Inspection by Name... -- search for "deprecated" and choose correct one.

This will work as long as new Symfony is already in the project (so that IDE knows what method/class/constant is now considered deprecated).



来源:https://stackoverflow.com/questions/19134303/phpstorm-find-all-deprecated-usages-in-the-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!