diff --git a/setup/unstable_versions.rst b/setup/unstable_versions.rst index 6b30a0f785b..8fabced2de6 100644 --- a/setup/unstable_versions.rst +++ b/setup/unstable_versions.rst @@ -7,8 +7,7 @@ they are released as stable versions. Creating a New Project Based on an Unstable Symfony Version ----------------------------------------------------------- - -Suppose that the Symfony 5.4 version hasn't been released yet and you want to create +Suppose that the Symfony 6.0 version hasn't been released yet and you want to create a new project to test its features. First, `install the Composer package manager`_. Then, open a command console, enter your project's directory and run the following command: @@ -24,7 +23,7 @@ in the ``my_project/`` directory. Upgrading your Project to an Unstable Symfony Version ----------------------------------------------------- -Suppose again that Symfony 5.4 hasn't been released yet and you want to upgrade +Suppose again that Symfony 6.0 hasn't been released yet and you want to upgrade an existing application to test that your project works with it. First, open the ``composer.json`` file located in the root directory of your @@ -35,8 +34,8 @@ new version and change your ``minimum-stability`` to ``beta``: { "require": { - + "symfony/framework-bundle": "^5.4", - + "symfony/finder": "^5.4", + + "symfony/framework-bundle": "^6.0", + + "symfony/finder": "^6.0", "...": "..." }, + "minimum-stability": "beta" @@ -44,7 +43,7 @@ new version and change your ``minimum-stability`` to ``beta``: You can also use set ``minimum-stability`` to ``dev``, or omit this line entirely, and opt into your stability on each package by using constraints -like ``5.4.*@beta``. +like ``6.0.*@beta``. Finally, from a terminal, update your project's dependencies: