Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapted ezbehat runner to Composer 2.2 #247

Merged
merged 1 commit into from Jan 5, 2022
Merged

Conversation

mnocon
Copy link
Member

@mnocon mnocon commented Jan 5, 2022

Composer 2.2.2 changes the working directory when binaries are executed:
composer/composer#10389
composer/composer#10402

It's also mentioned in the release notes for Composer 2.2.2:
https://github.com/composer/composer/releases/tag/2.2.2

Added COMPOSER_BIN_DIR env var and _composer_bin_dir global containing the path to the bin-dir for binaries. Packages relying on finding the bin dir with $BASH_SOURCES[0] will need to update their binaries (#10402)

This PR updates our ezbehat runner so that it relies on COMPOSER_BIN_DIR, not BASH_SOURCES env variable.

@micszo micszo merged commit 1ec6769 into 8.3 Jan 5, 2022
@micszo micszo deleted the adapt-to-composer-2.2 branch January 5, 2022 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants