ikappas / vscode-composer

PHP Composer for Visual Studio Code
MIT License
24 stars 7 forks source link

Set command line arguments #5

Closed bqtran closed 2 years ago

bqtran commented 6 years ago

It would be great if there was an configuration option to set additional command line arguments. I have an package that only works on linux (vend/resque) because it requires ext-pcntl, and composer isn't able to complete successfully without adding in an "--ignore-platform-reqs" on Windows (See https://github.com/composer/composer/issues/4584). I am currently running updates by hand to get around this issue.

Thanks.

AnrDaemon commented 2 years ago

The problem is deeper than that. I have a wrapper script that runs Composer executable through another wrapper script that runs specific version of PHP (I have all major versions from 5.6 onward installed and operable). I was under impression that "executable" means that - what would be run directly to get the results, but it seems that's not quite true.

ikappas commented 2 years ago

@bqtran Version 0.8.0 is out with several fixes including support for composer.ignorePlatformReqs setting, so I am closing this issue. Please feel free to reopen should you find that the issue still persists.