Description
Description
We use Docker containers for our symfony app, and inside the Docker container the Symfony app lives on the "/app" directory and everything works fine. However, from time to time I'd like to execute some specific unit tests from my local machine, which has a very different absolute root directory, and phpunit fails with a file not found error, the main reason being PHPUnit Bridge symlinks with an absolute path to the main vendor folder that doesn't exist outside the Docker container.
"repositories": {
"phpunit-bridge": {
"type": "path",
"url": "/app/vendor/symfony/phpunit-bridge"
}
}
Would it be possible to symlink using relative paths? Or if not, would it be ok to tell composer to not symlink and mirror instead? Both solutions would work. Happy to send a PR. Not sure also if this could be considered a bug-fix or not.
Thanks!