8000 Merge branch '4.4' into 5.0 · symfony/symfony-docs@40d76ae · GitHub
[go: up one dir, main page]

Skip to content

Commit 40d76ae

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Adding version option Simplifying the code block
2 parents 5819abc + 1251f3b commit 40d76ae

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

form/form_collections.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ it will receive an *unknown* number of tags. Otherwise, you'll see a
223223
// src/Form/TaskType.php
224224

225225
// ...
226-
use Symfony\Component\Form\FormBuilderInterface;
227226

228227
public function buildForm(FormBuilderInterface $builder, array $options)
229228
{

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=4.4 --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=4.4
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:"^4.4" 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:"^4.4" 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)
0