From f728b0b007cc5cd87c531493adbd94ae32a7cc4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20F=C3=B6rster?= Date: Tue, 26 Apr 2022 16:51:30 +0200 Subject: [PATCH] clarify `config.platform` short notation (#10741) --- doc/06-config.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/06-config.md b/doc/06-config.md index 5217b18f2..5490faa7e 100644 --- a/doc/06-config.md +++ b/doc/06-config.md @@ -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 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 -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 [`check-platform-reqs`](03-cli.md#check-platform-reqs) command as part of your