From c90cd6f640110f9b03694decb995019b7d817e15 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 2 Jun 2021 10:11:42 +0200 Subject: [PATCH] Clarify what is checked when with platofrm check, fixes #9307 --- doc/07-runtime.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/07-runtime.md b/doc/07-runtime.md index 17aa6bce6..3e345ad38 100644 --- a/doc/07-runtime.md +++ b/doc/07-runtime.md @@ -146,6 +146,10 @@ risk runtime errors when your code executes, you can disable this by setting the [`platform-check`](06-config.md#platform-check) config option to `false`. If you want the check to include verifying the presence of PHP extensions, -set the config option to `true`. +set the config option to `true`. `ext-*` requirements will then be verified +but for performance reasons Composer only checks the extension is present, +not its exact version. + +`lib-*` requirements are never supported/checked by the platform check feature. ← [Config](06-config.md) | [Community](08-community.md) →