unbounded-conflict-does-not-match-dev-master.test 832 B

12345678910111213141516171819202122232425262728293031
  1. --TEST--
  2. Test that a conflict against >=5 does not include dev-master or other dev-x
  3. --COMPOSER--
  4. {
  5. "repositories": [
  6. {
  7. "type": "package",
  8. "package": [
  9. { "name": "conflicter/pkg", "version": "1.0.0", "conflict": { "victim/pkg": ">=5", "victim/pkg2": ">=5" } },
  10. { "name": "victim/pkg", "version": "dev-master" },
  11. { "name": "victim/pkg2", "version": "dev-foo" }
  12. ]
  13. }
  14. ],
  15. "require": {
  16. "conflicter/pkg": "1.0.0",
  17. "victim/pkg": "*",
  18. "victim/pkg2": "*"
  19. },
  20. "minimum-stability": "dev"
  21. }
  22. --RUN--
  23. update
  24. --EXPECT--
  25. Installing conflicter/pkg (1.0.0)
  26. Installing victim/pkg (dev-master)
  27. Marking victim/pkg (9999999-dev) as installed, alias of victim/pkg (dev-master)
  28. Installing victim/pkg2 (dev-foo)