Skip to content

Commit 06c76aa

Browse files
committed
minor symfony#6211 Remove 2.3.* from composer snippets in the form component doc (Nicofuma)
This PR was submitted for the master branch but it was merged into the 3.0 branch instead (closes symfony#6211). Discussion ---------- Remove 2.3.* from composer snippets in the form component doc Commits ------- 97ef850 Remove 2.3.* from composer snippets in the form component doc
2 parents 03c6605 + 97ef850 commit 06c76aa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: components/form/introduction.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,14 @@ component offers a rich integration.
163163

164164
To use the integration, you'll need the ``TwigBridge``, which provides integration
165165
between Twig and several Symfony components. If you're using Composer, you
166-
could install the latest 2.3 version by adding the following ``require``
166+
could install the latest 3.x version by adding the following ``require``
167167
line to your ``composer.json`` file:
168168

169169
.. code-block:: json
170170
171171
{
172172
"require": {
173-
"symfony/twig-bridge": "2.3.*"
173+
"symfony/twig-bridge": "~3.0"
174174
}
175175
}
176176
@@ -243,15 +243,15 @@ via your own Twig extension.
243243

244244
To use the built-in integration, be sure that your project has Symfony's
245245
Translation and :doc:`Config </components/config/introduction>` components
246-
installed. If you're using Composer, you could get the latest 2.3 version
246+
installed. If you're using Composer, you could get the latest 3.x version
247247
of each of these by adding the following to your ``composer.json`` file:
248248

249249
.. code-block:: json
250250
251251
{
252252
"require": {
253-
"symfony/translation": "2.3.*",
254-
"symfony/config": "2.3.*"
253+
"symfony/translation": "~3.0",
254+
"symfony/config": "~3.0"
255255
}
256256
}
257257
@@ -295,13 +295,13 @@ array or object) and pass it through your own validation system.
295295

296296
To use the integration with Symfony's Validator component, first make sure
297297
it's installed in your application. If you're using Composer and want to
298-
install the latest 2.3 version, add this to your ``composer.json``:
298+
install the latest 3.x version, add this to your ``composer.json``:
299299

300300
.. code-block:: json
301301
302302
{
303303
"require": {
304-
"symfony/validator": "2.3.*"
304+
"symfony/validator": "~3.0"
305305
}
306306
}
307307

0 commit comments

Comments
 (0)