Dynamic file path in double quotes

2011-08-17 14h21_11.png

I guess IDE shouldn't analyze dynamic paths.

Should I make a bug report?

0
3 comments

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
Avatar
Permanently deleted user
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
Avatar
Permanently deleted user

Thank you! Working great.

0

Please sign in to leave a comment.