3 comments
Comment actions Permalink

Well, actually it sucessfully analyses lots of such construts, by substituting vars, constants ant built-in functuion calls i.e. if $filename = dirname(__FILE_) . "/../stuff/abc.php" and similar.

Press Alt+Enter with caret on yellow warning marker select inspection with arrow keys. Then press Right Arrow key and choose suitable variant - i.e. suppress for statement.

0
Comment actions Permalink
Press Alt+Enter with caret on yellow warning marker select inspection with arrow keys. Then press Right Arrow key and choose suitable variant - i.e. suppress for statement.


I have been using phpStorm for a little over a year now and some how missed that feature. Excellant!
Thanks Alexey :)

0
Comment actions Permalink

Thank you! Working great.

0

Please sign in to leave a comment.