Skip to content

Commit 8ab5854

Browse files
committed
Merge branch '2.1'
2 parents 6b75721 + 700f72d commit 8ab5854

File tree

6 files changed

+10
-18
lines changed

6 files changed

+10
-18
lines changed

components/config/definition.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,8 @@ an array with with ``fixXmlConfig``.
431431

432432
You can further control the normalization process if you need to. For example,
433433
you may want to allow a string to be set and used as a particular key or several
434-
keys to be set explicitly. So that, if everything apart from id is optional in this
435-
config:
434+
keys to be set explicitly. So that, if everything apart from ``name`` is optional
435+
in this config:
436436

437437
.. code-block:: yaml
438438

contributing/code/patches.rst

+1-13
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Get the Symfony2 source code:
7878
7979
$ git clone [email protected]:USERNAME/symfony.git
8080
81-
* Add the upstream repository as ``remote``:
81+
* Add the upstream repository as a remote:
8282

8383
.. code-block:: bash
8484
@@ -292,7 +292,6 @@ An example submission could now look as follows:
292292
Bug fix: no
293293
Feature addition: yes
294294
Backwards compatibility break: no
295-
Symfony2 tests pass: yes
296295
Fixes the following tickets: #12, #43
297296
Todo: -
298297
License of the code: MIT
@@ -350,17 +349,6 @@ When you save, git will start rebasing, and if successful, will ask you to
350349
edit the commit message, which by default is a listing of the commit messages
351350
of all the commits. When you finish, execute the push command.
352351

353-
.. tip::
354-
355-
To automatically get your feature branch tested, you can add your fork to
356-
`travis-ci.org`_. Just login using your github.com account and then simply
357-
flip a single switch to enable automated testing. In your pull request,
358-
instead of specifying "*Symfony2 tests pass: [yes|no]*", you can link to
359-
the `travis-ci.org status icon`_. For more details, see the
360-
`travis-ci.org Getting Started Guide`_. This could easily be done by clicking
361-
on the wrench icon on the build page of Travis. First select your feature
362-
branch and then copy the markdown to your PR description.
363-
364352
.. _ProGit: http://git-scm.com/book
365353
.. _GitHub: https://github.com/signup/free
366354
.. _`Github's Documentation`: https://help.github.com/articles/ignoring-files

contributing/code/standards.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ example containing most features described below:
4040
private $fooBar;
4141

4242
/**
43-
* @param string $dummyy Some argument description
43+
* @param string $dummy Some argument description
4444
*/
4545
public function __construct($dummy)
4646
{
@@ -49,6 +49,7 @@ example containing most features described below:
4949
5050
/**
5151
* @param string $dummy Some argument description
52+
* @param array $options
5253
*
5354
* @return string|null Transformed input
5455
*/

cookbook/form/data_transformers.rst

+3
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ In the above example, the transformer was used as a "model" transformer.
184184
In fact, there are two different type of transformers and three different
185185
types of underlying data.
186186

187+
.. image:: /images/cookbook/form/DataTransformersTypes.png
188+
:align: center
189+
187190
In any form, the 3 different types of data are:
188191

189192
1) **Model data** - This is the data in the format used in your application
45.2 KB
Loading

reference/dic_tags.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ For simplicity, you'll often extend an
9090
the interface directly::
9191

9292
// src/Acme/MainBundle/Form/Type/MyFormTypeExtension.php
93-
namespace Acme\MainBundle\Form\Type\MyFormTypeExtension;
93+
namespace Acme\MainBundle\Form\Type;
9494

9595
use Symfony\Component\Form\AbstractTypeExtension;
9696

@@ -810,4 +810,4 @@ For an example, see the ``EntityInitializer`` class inside the Doctrine Bridge.
810810
.. _`Twig official extension repository`: https://github.com/fabpot/Twig-extensions
811811
.. _`KernelEvents`: https://github.com/symfony/symfony/blob/2.1/src/Symfony/Component/HttpKernel/KernelEvents.php
812812
.. _`SwiftMailer's Plugin Documentation`: http://swiftmailer.org/docs/plugins.html
813-
.. _`Twig Loader`: http://twig.sensiolabs.org/doc/api.html#loaders
813+
.. _`Twig Loader`: http://twig.sensiolabs.org/doc/api.html#loaders

0 commit comments

Comments
 (0)