'Can't resolve target of expression' with some variable in the path
Code:
require_once $_SERVER["SOME_VAR"] . "/api/some.php";
Warning:
Can't resolve target of expression '$_SERVER["SOME_VAR"] . "/api/some.php"'
Path 'api' not found
'api' dir located in root folder of project, and $_SERVER["SOME_VAR"] defines where root folder is located
Is there are a way to avoid this warning message?
请先登录再写评论。
Hello Andrey,
At the moment the only way to avoid message is to disable "Unresolved include" inspection.Please vote - http://youtrack.jetbrains.net/issue/WI-3321Thank you for feedback!