Skip to content

Commit 1f02486

Browse files
committed
minor #9350 Update flex.rst - Add step in migration-process (Zombaya, javiereguiluz)
This PR was merged into the 4.0 branch. Discussion ---------- 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 being installed by `symfony/symfony`. Language improvements are welcomed since English is not my mother tongue. Commits ------- 336260c Minor change 67af1e0 Update flex.rst - Add step in migration-process
2 parents ba9995a + 336260c commit 1f02486

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

setup/flex.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,16 @@ 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
182+
it will not be installed again:
183+
184+
.. code-block:: json
185+
186+
"conflict": {
187+
"symfony/symfony": "*"
188+
},
179189
180190
Now you must add in ``composer.json`` all the Symfony dependencies required
181191
by your project. A quick way to do that is to add all the components that
@@ -254,5 +264,6 @@ manual steps:
254264
.. _`Symfony Recipes documentation`: https://github.com/symfony/recipes/blob/master/README.rst
255265
.. _`default services.yaml file`: https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/3.3/config/services.yaml
256266
.. _`shown in this example`: https://github.com/symfony/skeleton/blob/8e33fe617629f283a12bbe0a6578bd6e6af417af/composer.json#L24-L33
267+
.. _`shown in this example of the skeleton-project`: https://github.com/symfony/skeleton/blob/8e33fe617629f283a12bbe0a6578bd6e6af417af/composer.json#L44-L46
257268
.. _`copying Symfony's index.php source`: https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/3.3/public/index.php
258269
.. _`copying Symfony's bin/console source`: https://github.com/symfony/recipes/blob/master/symfony/console/3.3/bin/console

0 commit comments

Comments
 (0)