Skip to content

Commit acb40ee

Browse files
committed
Merge branch '2.3' into 2.7
2 parents c7b448b + 3189caf commit acb40ee

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

book/doctrine.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ you can let Doctrine create the class for you.
904904

905905
.. code-block:: bash
906906
907-
$ php app/console doctrine:generate:entity \
907+
$ php app/console doctrine:generate:entity --no-interaction \
908908
--entity="AppBundle:Category" \
909909
--fields="name:string(255)"
910910

book/validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ The ``validator`` service can be used at any time to validate any object.
217217
In reality, however, you'll usually work with the ``validator`` indirectly
218218
when working with forms. Symfony's form library uses the ``validator`` service
219219
internally to validate the underlying object after values have been submitted.
220-
The constraint violations on the object are converted into ``FieldError``
220+
The constraint violations on the object are converted into ``FormError``
221221
objects that can easily be displayed with your form. The typical form submission
222222
workflow looks like the following from inside a controller::
223223

create_framework/http-kernel-controller-resolver.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ introspects the controller signature to determine which arguments to pass to
9191
it by using the native PHP `reflection`_.
9292

9393
The ``indexAction()`` method needs the Request object as an argument.
94-
```getArguments()`` knows when to inject it properly if it is type-hinted
94+
``getArguments()`` knows when to inject it properly if it is type-hinted
9595
correctly::
9696

9797
public function indexAction(Request $request)

create_framework/templating.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ framework does not need to be modified in any way, just create a new
173173
The ``is_leap_year()`` function returns ``true`` when the given year is a leap
174174
year, ``false`` otherwise. If the year is ``null``, the current year is
175175
tested. The controller is simple: it gets the year from the request
176-
attributes, pass it to the `is_leap_year()`` function, and according to the
176+
attributes, pass it to the ``is_leap_year()`` function, and according to the
177177
return value it creates a new Response object.
178178

179179
As always, you can decide to stop here and use the framework as is; it's

quick_tour/the_architecture.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ a single Bundle class that describes it::
114114
new Symfony\Bundle\DoctrineBundle\DoctrineBundle(),
115115
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
116116
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
117-
new AppBundle\AppBundle();
117+
new AppBundle\AppBundle(),
118118
);
119119

120120
if (in_array($this->getEnvironment(), array('dev', 'test'))) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy