Skip to content

Commit

Permalink
Merge branch '2.7' into 2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Aug 12, 2015
2 parents 6383740 + acb40ee commit 3e60dda
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion book/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ you can let Doctrine create the class for you.

.. code-block:: bash
$ php app/console doctrine:generate:entity \
$ php app/console doctrine:generate:entity --no-interaction \
--entity="AppBundle:Category" \
--fields="name:string(255)"
Expand Down
2 changes: 1 addition & 1 deletion book/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ The ``validator`` service can be used at any time to validate any object.
In reality, however, you'll usually work with the ``validator`` indirectly
when working with forms. Symfony's form library uses the ``validator`` service
internally to validate the underlying object after values have been submitted.
The constraint violations on the object are converted into ``FieldError``
The constraint violations on the object are converted into ``FormError``
objects that can easily be displayed with your form. The typical form submission
workflow looks like the following from inside a controller::

Expand Down
2 changes: 1 addition & 1 deletion components/var_dumper/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Another option for doing the same could be::
use Symfony\Component\VarDumper\Cloner\VarCloner;
use Symfony\Component\VarDumper\Dumper\CliDumper;

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

Expand Down
2 changes: 1 addition & 1 deletion cookbook/security/pre_authenticated.rst
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,5 @@ key in the ``remote_user`` firewall configuration.
.. note::

Just like for X509 authentication, you will need to configure a "user provider".
See :ref:`the note previous note <cookbook-security-pre-authenticated-user-provider-note>`
See :ref:`the previous note <cookbook-security-pre-authenticated-user-provider-note>`
for more information.
2 changes: 1 addition & 1 deletion create_framework/http-kernel-controller-resolver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ introspects the controller signature to determine which arguments to pass to
it by using the native PHP `reflection`_.

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

public function indexAction(Request $request)
Expand Down
2 changes: 1 addition & 1 deletion create_framework/templating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ framework does not need to be modified in any way, just create a new
The ``is_leap_year()`` function returns ``true`` when the given year is a leap
year, ``false`` otherwise. If the year is ``null``, the current year is
tested. The controller is simple: it gets the year from the request
attributes, pass it to the `is_leap_year()`` function, and according to the
attributes, pass it to the ``is_leap_year()`` function, and according to the
return value it creates a new Response object.

As always, you can decide to stop here and use the framework as is; it's
Expand Down
2 changes: 1 addition & 1 deletion quick_tour/the_architecture.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ a single Bundle class that describes it::
new Symfony\Bundle\DoctrineBundle\DoctrineBundle(),
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new AppBundle\AppBundle();
new AppBundle\AppBundle(),
);

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

0 comments on commit 3e60dda

Please sign in to comment.