1
0
Fork 0

Add --no-dev to recommended check-platform-reqs command for prod deploy

pull/8860/head
Jordi Boggiano 2020-05-01 14:50:55 +02:00
parent 56811b4c8f
commit fc8be2bed8
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 2 additions and 2 deletions

View File

@ -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. 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 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 production, you can run `composer check-platform-reqs --no-dev` as part of your
and if that returns a non-0 code you should abort. 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 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 risk runtime errors when your code executes, you can disable this by setting the