I have a PHP file, call it test.php, outside of my www folder and am including it like the following in a number of files:
require_once( __DIR__ . '/../../test.php');
When I had test.php inside of the www folder, everything was fine, but after I moved it outside of the www folder PhpStorm now highlights all of the functions in the file and gives the error "Undefined function ..."
If I click on "test.php" in the above line of code, PhpStorm opens that file, so clearly PhpStorm knows the file exists. Since PhpStorm can jump to the file when I middle click it, I don't understand why it doesn't recognize that the functions in the file exist?