composer: do not install packages with min version higher than 7.3.0

running composer update on 7.4 will generate a lock file using the newest dependencies which work for the current PHP version, which usually isn't desirable for a project like this where developers might be using newer PHP versions than users.
This commit is contained in:
Dylan K. Taylor
2020-09-04 01:05:48 +01:00
parent a9871a6c1a
commit e87760c218
2 changed files with 144 additions and 71 deletions

View File

@ -68,5 +68,10 @@
"pocketmine\\": "tests/phpunit/",
"pocketmine\\phpstan\\rules\\": "tests/phpstan/rules"
}
},
"config": {
"platform": {
"php": "7.3.0"
}
}
}