I'm working on a project based on api-platform which has the following folder structure
/.git
/api => symfony code
/client => client javascript code
php-project-get-root-dir seems to use git as the dominant root folder detection factor, which is not appropriate within this project (should be api)