install-ignore-platform-package-requirements.test 455 B

12345678910111213141516171819202122
  1. --TEST--
  2. Install in ignore-platform-reqs mode
  3. --COMPOSER--
  4. {
  5. "repositories": [
  6. {
  7. "type": "package",
  8. "package": [
  9. { "name": "a/a", "version": "1.0.0", "require": { "ext-testdummy": "*", "php": "98" } }
  10. ]
  11. }
  12. ],
  13. "require": {
  14. "a/a": "1.0.0",
  15. "php": "99.9",
  16. "ext-dummy2": "3"
  17. }
  18. }
  19. --RUN--
  20. install --ignore-platform-reqs
  21. --EXPECT--
  22. Installing a/a (1.0.0)