If you support multiple versions of a dependency, there's no good way to test the latest version of each of them, with Composer & CI, is there?
You can do --prefer-lowest
which kinda works if you only support two versions, but it's not the same, since it will take the latest of the newer version and the earliest of the previous version