Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHPStorm : List all undefined and unused variables

I would like to list all undefined and unused variables in all the files in the project. Is this possible in PHPStorm ?

I am using PHPStorm-7.1 on Mac-Mavericks-ver-10.9.4

Thanks.

like image 454
LionHeart Avatar asked Oct 31 '22 20:10

LionHeart


1 Answers

Go to the top menu and select "Code". In there select "Inspect Code". You will be able to select a scope and then PhpStorm will issue a report of what you want (as well as other things).

like image 78
Julian Avatar answered Nov 09 '22 13:11

Julian