1
0
Fork 0

clarify `config.platform` short notation (#10741)

pull/10756/head
Marcus Förster 2022-04-26 16:51:30 +02:00 committed by GitHub
parent b1828ef653
commit f728b0b007
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -223,7 +223,8 @@ production env or define your target platform in the config. Example: `{"php":
This will make sure that no package requiring more than PHP 7.0.3 can be installed This will make sure that no package requiring more than PHP 7.0.3 can be installed
regardless of the actual PHP version you run locally. However it also means regardless of the actual PHP version you run locally. However it also means
the dependencies are not checked correctly anymore, if you run PHP 5.6 it will the dependencies are not checked correctly anymore, if you run PHP 5.6 it will
install fine as it assumes 7.0.3, but then it will fail at runtime. install fine as it assumes 7.0.3, but then it will fail at runtime. This also means if
`{"php":"7.4"}` is specified; no packages will be used that define `7.4.1` as minimum.
Therefore if you use this it is recommended, and safer, to also run the Therefore if you use this it is recommended, and safer, to also run the
[`check-platform-reqs`](03-cli.md#check-platform-reqs) command as part of your [`check-platform-reqs`](03-cli.md#check-platform-reqs) command as part of your