From 06fa7cd836426261b2583b973c3af92e9d3f0e90 Mon Sep 17 00:00:00 2001 From: noniagriconomie Date: Mon, 27 Jul 2020 23:23:28 +0200 Subject: [PATCH] Document composer sync recipe force option --- setup/_update_all_packages.rst.inc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/setup/_update_all_packages.rst.inc b/setup/_update_all_packages.rst.inc index a6a6c70e570..d75a62a1704 100644 --- a/setup/_update_all_packages.rst.inc +++ b/setup/_update_all_packages.rst.inc @@ -17,3 +17,16 @@ this safely by running: breaking changes. .. _`version constraints`: https://getcomposer.org/doc/articles/versions.md + +If you are in a default Symfony application that uses :ref:`Symfony Flex ` +and Symfony Recipes, you may also want to reinstall them to their latest version: + +.. code-block:: terminal + + $ composer sync-recipes --force + +.. caution:: + + By doing this, you reinstall all the recipes again for all packages. + It is your job to carefully verify the code changes as it may override + your custom code.