Skip to content

Commit 67af1e0

Browse files
authored
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`.
1 parent ba9995a commit 67af1e0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

setup/flex.rst

+10
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,15 @@ manual steps:
176176
.. code-block:: terminal
177177
178178
$ composer remove symfony/symfony
179+
180+
Now add the ``symfony/symfony``-package to the ``conflict``-section of the project's
181+
``composer.json`` file as `shown in this example of the skeleton-project`_ so that it will not be installed again.
182+
183+
.. code-block:: json
184+
185+
"conflict": {
186+
"symfony/symfony": "*"
187+
},
179188
180189
Now you must add in ``composer.json`` all the Symfony dependencies required
181190
by your project. A quick way to do that is to add all the components that
@@ -254,5 +263,6 @@ manual steps:
254263
.. _`Symfony Recipes documentation`: https://github.com/symfony/recipes/blob/master/README.rst
255264
.. _`default services.yaml file`: https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/3.3/config/services.yaml
256265
.. _`shown in this example`: https://github.com/symfony/skeleton/blob/8e33fe617629f283a12bbe0a6578bd6e6af417af/composer.json#L24-L33
266+
.. _`shown in this example of the skeleton-project`: https://github.com/symfony/skeleton/blob/8e33fe617629f283a12bbe0a6578bd6e6af417af/composer.json#L44-L46
257267
.. _`copying Symfony's index.php source`: https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/3.3/public/index.php
258268
.. _`copying Symfony's bin/console source`: https://github.com/symfony/recipes/blob/master/symfony/console/3.3/bin/console

0 commit comments

Comments
 (0)