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

Composer Bin Proxy #10

Open
goncaloasimoes opened this issue Mar 28, 2022 · 0 comments
Open

Composer Bin Proxy #10

goncaloasimoes opened this issue Mar 28, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@goncaloasimoes
Copy link
Collaborator

There appears to be some behaviour of composer (unverified if old or new) that creates proxy files in the /vendor/bin folder that calls the actual bin file in the lib folder.

It is added via this https://github.com/composer/composer/blob/main/src/Composer/Installer/BinaryInstaller.php (see end of file)

This causes the php-pre-commit file to fail when moving pre-commit to .git/hooks since it expects to be in /vendor/bin when running.

We need to make the file path building more robust in php-pre-commit in order to combat these issues.

@goncaloasimoes goncaloasimoes added the bug Something isn't working label Mar 28, 2022
@goncaloasimoes goncaloasimoes self-assigned this Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant