Skip to content

Composer Bin Proxy #10

@azathcat

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions