Skip to content

Composer Bin Proxy #10

Description

@azathcat

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions