From 67af1e06b190d7826cc21cb831439b2f7baa23d8 Mon Sep 17 00:00:00 2001 From: Zombaya Date: Mon, 26 Feb 2018 17:07:48 +0100 Subject: [PATCH 1/2] Update flex.rst - Add step in migration-process I added the step to add 'symfony/symfony' to the `conflict`-section of your composer.json-file. I did not do this until after the step to change your index.php-section. This resulted in a lot of recipe's not being executed since the libraries for that were still installed by `symfony/symfony`. --- setup/flex.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/setup/flex.rst b/setup/flex.rst index 4ad600a182c..fe31eafb191 100644 --- a/setup/flex.rst +++ b/setup/flex.rst @@ -176,6 +176,15 @@ manual steps: .. code-block:: terminal $ composer remove symfony/symfony + + Now add the ``symfony/symfony``-package to the ``conflict``-section of the project's + ``composer.json`` file as `shown in this example of the skeleton-project`_ so that it will not be installed again. + + .. code-block:: json + + "conflict": { + "symfony/symfony": "*" + }, Now you must add in ``composer.json`` all the Symfony dependencies required by your project. A quick way to do that is to add all the components that @@ -254,5 +263,6 @@ manual steps: .. _`Symfony Recipes documentation`: https://github.com/symfony/recipes/blob/master/README.rst .. _`default services.yaml file`: https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/3.3/config/services.yaml .. _`shown in this example`: https://github.com/symfony/skeleton/blob/8e33fe617629f283a12bbe0a6578bd6e6af417af/composer.json#L24-L33 +.. _`shown in this example of the skeleton-project`: https://github.com/symfony/skeleton/blob/8e33fe617629f283a12bbe0a6578bd6e6af417af/composer.json#L44-L46 .. _`copying Symfony's index.php source`: https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/3.3/public/index.php .. _`copying Symfony's bin/console source`: https://github.com/symfony/recipes/blob/master/symfony/console/3.3/bin/console From 336260c2dc67a7fecb4638b29fef3d62422800f9 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Mon, 26 Feb 2018 21:00:18 +0100 Subject: [PATCH 2/2] Minor change --- setup/flex.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/flex.rst b/setup/flex.rst index fe31eafb191..80e53b591a5 100644 --- a/setup/flex.rst +++ b/setup/flex.rst @@ -177,8 +177,9 @@ manual steps: $ composer remove symfony/symfony - Now add the ``symfony/symfony``-package to the ``conflict``-section of the project's - ``composer.json`` file as `shown in this example of the skeleton-project`_ so that it will not be installed again. + Now add the ``symfony/symfony`` package to the ``conflict`` section of the project's + ``composer.json`` file as `shown in this example of the skeleton-project`_ so that + it will not be installed again: .. code-block:: json