From fc8be2bed873b99af6c8fdbb9e7e403395312332 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 1 May 2020 14:50:55 +0200 Subject: [PATCH] Add --no-dev to recommended check-platform-reqs command for prod deploy --- doc/07-runtime.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/07-runtime.md b/doc/07-runtime.md index f1e2cb52e..35d4276fb 100644 --- a/doc/07-runtime.md +++ b/doc/07-runtime.md @@ -85,8 +85,8 @@ by the PHP process currently running. If the requirements are not met, the scrip prints a warning with the missing requirements and exits with code 104. To avoid an unexpected white page of death with some obscure PHP extension warning in -production, you can run `composer check-platform-reqs` as part of your deployment/build -and if that returns a non-0 code you should abort. +production, you can run `composer check-platform-reqs --no-dev` as part of your +deployment/build and if that returns a non-0 code you should abort. If you for some reason do not want to use this safety check, and would rather risk runtime errors when your code executes, you can disable this by setting the