Skip to content

Commit 7b904bf

Browse files
committed
minor #15416 * setup.rst - documentation bugfix (StaffNowa)
This PR was merged into the 5.2 branch. Discussion ---------- * setup.rst - documentation bugfix I think we have a bug with documentation in the composer setup. Commits ------- e518503 * setup.rst - documentation bugfix
2 parents 9e388f3 + e518503 commit 7b904bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setup.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ application:
5050
.. code-block:: terminal
5151
5252
# run this if you are building a traditional web application
53-
$ symfony new my_project_name --full
53+
$ symfony new my_project_name --version=5.2 --full
5454
5555
# run this if you are building a microservice, console application or API
56-
$ symfony new my_project_name
56+
$ symfony new my_project_name --version=5.2
5757
5858
The only difference between these two commands is the number of packages
5959
installed by default. The ``--full`` option installs all the packages that you
@@ -65,10 +65,10 @@ Symfony application using Composer:
6565
.. code-block:: terminal
6666
6767
# run this if you are building a traditional web application
68-
$ composer create-project symfony/website-skeleton my_project_name
68+
$ composer create-project symfony/website-skeleton:"5.2.*" my_project_name
6969
7070
# run this if you are building a microservice, console application or API
71-
$ composer create-project symfony/skeleton my_project_name
71+
$ composer create-project symfony/skeleton:"5.2.*" my_project_name
7272
7373
No matter which command you run to create the Symfony application. All of them
7474
will create a new ``my_project_name/`` directory, download some dependencies

0 commit comments

Comments
 (0)