Skip to content

Commit 3b9db1f

Browse files
committed
Merge branch '2.8' into 3.0
2 parents 1a3614c + f7dad82 commit 3b9db1f

File tree

7 files changed

+12
-6
lines changed

7 files changed

+12
-6
lines changed

components/config/definition.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ The builder is used for adding advanced validation rules to node definitions, li
722722
->isRequired()
723723
->validate()
724724
->ifNotInArray(array('mysql', 'sqlite', 'mssql'))
725-
->thenInvalid('Invalid database driver "%s"')
725+
->thenInvalid('Invalid database driver %s')
726726
->end()
727727
->end()
728728
->end()

components/finder.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ directories::
4141
}
4242

4343
The ``$file`` is an instance of :class:`Symfony\\Component\\Finder\\SplFileInfo`
44-
which extends :phpclass:`SplFileInfo` to provide methods to work with relative
44+
which extends PHP's own :phpclass:`SplFileInfo` to provide methods to work with relative
4545
paths.
4646

4747
The above code prints the names of all the files in the current directory

components/form.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ The following snippet adds CSRF protection to the form factory::
134134

135135
$formFactory = Forms::createFormFactoryBuilder()
136136
// ...
137-
->addExtension(new CsrfExtension($csrfStorage))
137+
->addExtension(new CsrfExtension($csrfManager))
138138
->getFormFactory();
139139

140140
Internally, this extension will automatically add a hidden field to every

contributing/code/core_team.rst

+4
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ Active Core Members
7171
* **Javier Eguiluz** (`javiereguiluz`_) can merge into the WebProfilerBundle_
7272
bundle.
7373

74+
* **Grégoire Pineau** (`lyrixx`_) can merge into the Workflow_ component.
75+
7476
* **Deciders** (``@symfony/deciders`` on GitHub):
7577

7678
* **Jordi Boggiano** (`seldaek`_);
@@ -181,6 +183,7 @@ discretion of the **Project Leader**.
181183
.. _TwigBridge: https://github.com/symfony/twig-bridge
182184
.. _Validator: https://github.com/symfony/validator
183185
.. _VarDumper: https://github.com/symfony/var-dumper
186+
.. _Workflow: https://github.com/symfony/workflow
184187
.. _Yaml: https://github.com/symfony/yaml
185188
.. _WebProfilerBundle: https://github.com/symfony/web-profiler-bundle
186189
.. _`fabpot`: https://github.com/fabpot/
@@ -197,3 +200,4 @@ discretion of the **Project Leader**.
197200
.. _`aitboudad`: https://github.com/aitboudad/
198201
.. _`xabbuh`: https://github.com/xabbuh/
199202
.. _`javiereguiluz`: https://github.com/javiereguiluz/
203+
.. _`lyrixx`: https://github.com/lyrixx/

reference/constraints/IdenticalTo.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Basic Usage
2828

2929
The following constraints ensure that:
3030

31-
* ``firstName`` of ``Person` class is equal to ``Mary`` *and* is a string
31+
* ``firstName`` of ``Person`` class is equal to ``Mary`` *and* is a string
3232
* ``age`` is equal to``20`` *and* is of type integer
3333

3434
.. configuration-block::

serializer.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,15 @@ Here is an example on how to load the
9292
services:
9393
get_set_method_normalizer:
9494
class: Symfony\Component\Serializer\Normalizer\GetSetMethodNormalizer
95+
public: false
9596
tags:
9697
- { name: serializer.normalizer }
9798
9899
.. code-block:: xml
99100
100101
<!-- app/config/services.xml -->
101102
<services>
102-
<service id="get_set_method_normalizer" class="Symfony\Component\Serializer\Normalizer\GetSetMethodNormalizer">
103+
<service id="get_set_method_normalizer" class="Symfony\Component\Serializer\Normalizer\GetSetMethodNormalizer" public="false">
103104
<tag name="serializer.normalizer" />
104105
</service>
105106
</services>
@@ -112,6 +113,7 @@ Here is an example on how to load the
112113
$definition = new Definition(
113114
'Symfony\Component\Serializer\Normalizer\GetSetMethodNormalizer'
114115
));
116+
$definition->setPublic(false);
115117
$definition->addTag('serializer.normalizer');
116118
$container->setDefinition('get_set_method_normalizer', $definition);
117119

service_container/definitions.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ fetched from the container::
9696
.. caution::
9797

9898
Don't use ``get()`` to get a service that you want to inject as constructor
99-
argument, the service is not yet availabe. Instead, use inject a
99+
argument, the service is not yet availabe. Instead, use a
100100
``Reference`` instance as shown above.
101101

102102
Method Calls

0 commit comments

Comments
 (0)