-
-
Notifications
You must be signed in to change notification settings - Fork 319
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
Dynamic path for composer task #701
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of comments:
- this introduces whitespace changes (we indent using 4 spaces)
which
is not available on Windows
Related to #558. |
Would it be a good idea to implement a try catch on the command with the provided composer path and then try finding a path if that fails? That would cover the user entering a wrong path. But then the user would not be aware of that mistake. |
I moved the path check to the getComposer function and cleaned up the class a bit. |
Mind giving me a new review @mrook ? |
Can you squash the commits? The PR is a little noisy this way :) Anyway:
|
It would be a nice feature to have the phing composer task check if a composer installation is available to execute the command with if no composer executable path is set.