Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[PhpUnitBridge] skip interactive questions asked by Composer#60616
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
followingsymfony#60587 so that the installation script is not blocked byComposer asking to install the bridge as a dev dependency:```The package you required is recommended to be placed in require-dev (because it is tagged as "testing") but you did not use --dev.Do you want to re-run the command with --dev? [yes]?```
Why no set --dev instead? |
Thank you@xabbuh. |
9f3c279
intosymfony:6.4Uh oh!
There was an error while loading.Please reload this page.
Good, the questions are not displayed anyway :) |
I tried that first but ended of with autoloading issues when running Symfony tests locally and then stopped debugging. 😄
In fact they were displayed locally running Symfony's tests. Looks like the behaviour is different in a CI when Composer detects that it runs in a non-interactive environment. 🤷 |
nicolas-grekas commentedJun 2, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
maybe we should set COMPOSER_NO_INTERACTION=1 during the call instead? |
Could be worth to investigate it as a future-proof solution in |
following#60587 so that the installation script is not blocked by Composer asking to install the bridge as a dev dependency: