`DIRECTORY_SEPARATOR` is not needed normally in PHP, just use `/`. Also if you consider to test, test with `phar://path/to/file.phar/inside/class.php` paths, those use `/` regardless of what `DIRECTORY_SEPARATOR` is.