Skip to content

Commit 3e60dda

Browse files
committed
Merge branch '2.7' into 2.8
2 parents 6383740 + acb40ee commit 3e60dda

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
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

components/var_dumper/advanced.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Another option for doing the same could be::
145145
use Symfony\Component\VarDumper\Cloner\VarCloner;
146146
use Symfony\Component\VarDumper\Dumper\CliDumper;
147147

148-
cloner = new VarCloner();
148+
$cloner = new VarCloner();
149149
$dumper = new CliDumper();
150150
$output = fopen('php://memory', 'r+b');
151151

cookbook/security/pre_authenticated.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,5 +149,5 @@ key in the ``remote_user`` firewall configuration.
149149
.. note::
150150

151151
Just like for X509 authentication, you will need to configure a "user provider".
152-
See :ref:`the note previous note <cookbook-security-pre-authenticated-user-provider-note>`
152+
See :ref:`the previous note <cookbook-security-pre-authenticated-user-provider-note>`
153153
for more information.

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