Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1f02486

Browse filesBrowse 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
Copy full SHA for 1f02486

File tree

Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed

‎setup/flex.rst

Copy file name to clipboardExpand all lines: setup/flex.rst
+11Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.