Skip to content

Commit ab47291

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: User --webapp instead of --full [Doctrine] use executeQuery instead of execute
2 parents 5d2b110 + 12fdcc3 commit ab47291

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

doctrine.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ In addition, you can query directly with SQL if you need to::
848848
ORDER BY p.price ASC
849849
';
850850
$stmt = $conn->prepare($sql);
851-
$stmt->execute(['price' => $price]);
851+
$stmt->executeQuery(['price' => $price]);
852852

853853
// returns an array of arrays (i.e. a raw data set)
854854
return $stmt->fetchAllAssociative();

setup.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ application:
5353
.. code-block:: terminal
5454
5555
# run this if you are building a traditional web application
56-
$ symfony new my_project_directory --full
56+
$ symfony new my_project_directory --webapp
5757
5858
# run this if you are building a microservice, console application or API
5959
$ symfony new my_project_directory
6060
6161
The only difference between these two commands is the number of packages
62-
installed by default. The ``--full`` option installs all the packages that you
62+
installed by default. The ``--webapp`` option installs all the packages that you
6363
usually need to build web applications, so the installation size will be bigger.
6464

6565
If you're not using the Symfony binary, run these commands to create the new
@@ -68,7 +68,9 @@ Symfony application using Composer:
6868
.. code-block:: terminal
6969
7070
# run this if you are building a traditional web application
71-
$ composer create-project symfony/website-skeleton my_project_directory
71+
$ composer create-project symfony/skeleton my_project_directory
72+
$ cd my_project_directory
73+
$ composer require webapp
7274
7375
# run this if you are building a microservice, console application or API
7476
$ composer create-project symfony/skeleton my_project_directory

0 commit comments

Comments
 (0)