I have just opened Moodle as a new project on PHPStorm, and i am having a few issues of false error warnings.
require_once('config.php') is giving me an error : Path 'config.php' not found
Note that I can do , say, require_once('test.php') with no issue whatsoever, even if test.php is the exact copy of config.php
There are a few other issues with undefined variables, but i am thinking that fixing the path thing may fix a few others. Since this is MOODLE, i can't really change the existing code.