extdn / github-actions-m2

137 stars 46 forks source link

Do not use symlinks with PHPStan #102

Closed sprankhub closed 1 year ago

sprankhub commented 1 year ago

PHPStan has - only in certain cases, but still - issues with symlinks. See e.g.:

https://github.com/phpstan/phpstan/issues/7241 https://github.com/phpstan/phpstan/issues/6585

This PR suggests to use COMPOSER_MIRROR_PATH_REPOS for the PHPStan action, so that the package is actually copied and not symlinked from the local path repository to fix such issues.