Skip to content

Commit ec522d9

Browse files
committed
Merge branch '2.3' into 2.7
Conflicts: components/config/definition.rst
2 parents f0baf30 + 79775ae commit ec522d9

File tree

5 files changed

+15
-9
lines changed

5 files changed

+15
-9
lines changed

Diff for: .gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
/_build
2-
/_exts
32
*.pyc

Diff for: book/doctrine.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -766,8 +766,10 @@ covered later), group, etc. For more information, see the official
766766
Querying for Objects Using Doctrine's Query Builder
767767
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
768768

769-
Instead of writing a DQL string, you can alternatively use a helpful object called
770-
the ``QueryBuilder`` to build that string for you::
769+
Instead of writing a DQL string, you can use a helpful object called the
770+
``QueryBuilder`` to build that string for you. This is useful when the actual query
771+
depends on dynamic conditions, as your code soon becomes hard to read with
772+
DQL as you start to concatenate strings::
771773

772774
$repository = $this->getDoctrine()
773775
->getRepository('AppBundle:Product');

Diff for: book/page_creation.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ at the end:
181181
}
182182
183183
// ...
184-
}
184+
}
185185
186186
.. code-block:: yaml
187187
@@ -272,7 +272,7 @@ easy, powerful and actually quite fun.
272272
So far, ``LuckyController`` doesn't extend any base class. The easiest way
273273
to use Twig - or many other tools in Symfony - is to extend Symfony's base
274274
:class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller` class::
275-
275+
276276
// src/AppBundle/Controller/LuckyController.php
277277
// ...
278278

@@ -566,9 +566,9 @@ Ok, time to finish mastering the fundamentals by reading these chapters:
566566
* :doc:`/book/routing`
567567
* :doc:`/book/templating`
568568

569-
Then, learn about Symfony's :doc:`service container </book/service_container>`
569+
Then, in the :doc:`Symfony Book </book/index>`, learn about the :doc:`service container </book/service_container>`,
570570
the :doc:`form system </book/forms>`, using :doc:`Doctrine </book/doctrine>`
571-
if you need to query a database and more. in the :doc:`Symfony Book </book/index>`.
571+
(if you need to query a database) and more!
572572

573573
There's also a :doc:`Cookbook </cookbook/index>` *packed* with more advanced
574574
"how to" articles to solve *a lot* of problems.

Diff for: components/config/definition.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ All options can be documented using the
295295
method.
296296

297297
The info will be printed as a comment when dumping the configuration tree
298-
with the ``config:dump`` command.
298+
with the ``config:dump-reference`` command.
299299

300300
.. versionadded:: 2.6
301301
Since Symfony 2.6, the info will also be added to the exception message

Diff for: reference/twig_reference.rst

+6-1
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,12 @@ humanize
418418
**type**: ``string``
419419

420420
Makes a technical name human readable (i.e. replaces underscores by spaces
421-
and capitalizes the string).
421+
or transforms camelCase text like ``helloWorld`` to ``hello world``
422+
and then capitalizes the string).
423+
424+
.. versionadded:: 2.3
425+
Transforming camelCase text into human readable text was introduced in
426+
Symfony 2.3.
422427

423428
trans
424429
~~~~~

0 commit comments

Comments
 (0)