You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You could make an argument that Symfony should be able to locate this better. But I think that modifying the PATH variable to include the absolute path for the composer binary is the easiest fix.
Steps to Reproduce (for bugs)
# Require package globally.
composer global require phpro/grumphp
# Try initializing the grumphp git hooks.
grumphp git:init
# Set an absolute path for composer binary.export PATH=$PATH:/home/docker/.composer/vendor/bin
# Re run the initialization of grumphp git hooks.
grumphp git:init
Context
Trying to implement coding standards with the phpro/grumphp package installed globally.
Your Environment
Not relevant.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please update it if any action still required.
Expected Behavior
When running a binary through Symfony\Component\Process\ExecutableFinder it should be able to find the binary automatically.
Current Behavior
When using grumphp which relies on Symfony\Component\Process\ExecutableFinder the path that refers to $HOME with ~ does not work:
docker-images-php/utils/Dockerfile.slim.blueprint
Line 253 in 4207a2f
Possible Solution
You could make an argument that Symfony should be able to locate this better. But I think that modifying the PATH variable to include the absolute path for the composer binary is the easiest fix.
Steps to Reproduce (for bugs)
Context
Trying to implement coding standards with the phpro/grumphp package installed globally.
Your Environment
Not relevant.
The text was updated successfully, but these errors were encountered: