-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 plugin cannot run working_dir dependent commands. e.g. symfony:dump-env
#3787
Comments
Files identified in the description: If these files are incorrect, please update the |
Files identified in the description: If these files are incorrect, please update the |
+1, I have to use the |
Both this issue and #5204 seem to be waiting for someone to pick them up. |
Hey folks, can you test #7405 and tell us if it fix the issue? Thanks |
Summary
When I try to use the
symfony:dump-env
composer command I get an error that the command does not exist. This is caused byget_available_options
method callingcomposer help
without setting theworking-dir
option.This is what is executed by ansible:
This should be executed instead:
Issue Type
Bug Report
Component Name
composer
Ansible Version
Community.general Version
Configuration
OS / Environment
Target OS is SLES 15-SP3, but that should not be of concern. I installed composer using the
ansible role by geerlingguy
Steps to Reproduce
Expected Results
I expected the command to be executed properly.
Actual Results
fatal: [project]: FAILED! => {"changed": false, "msg": "[Symfony\\Component\\Console\\Exception\\CommandNotFoundException] There are no commands defined in the \"symfony\" namespace. help [--xml] [--format FORMAT] [--raw] [--] [<command_name>]"}
Code of Conduct
The text was updated successfully, but these errors were encountered: