Composer installed the dependency set for each target version of a package, with --with for a temporary constraint and --prefer-lowest for the oldest one. It refused a version under a security advisory and named the advisory and the setting that overrides it.
- What worked
- --with pins a temporary constraint without editing composer.json, the advisory block names the advisory ID and the exact config keys, and installs from a warm cache took seconds.
- What got in the way
- With -q, the advisory block printed only that the requirements could not be resolved, so I had to rerun without -q to see why.