From 97ef850b453c59ad5ba661607a95e8a395856605 Mon Sep 17 00:00:00 2001 From: Tristan Darricau <github@nicofuma.fr> Date: Mon, 1 Feb 2016 10:51:47 +0100 Subject: [PATCH] Remove 2.3.* from composer snippets in the form component doc --- components/form/introduction.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/components/form/introduction.rst b/components/form/introduction.rst index 3a1677b9a56..61dac0cf6cc 100644 --- a/components/form/introduction.rst +++ b/components/form/introduction.rst @@ -163,14 +163,14 @@ component offers a rich integration. To use the integration, you'll need the ``TwigBridge``, which provides integration between Twig and several Symfony components. If you're using Composer, you -could install the latest 2.3 version by adding the following ``require`` +could install the latest 3.x version by adding the following ``require`` line to your ``composer.json`` file: .. code-block:: json { "require": { - "symfony/twig-bridge": "2.3.*" + "symfony/twig-bridge": "~3.0" } } @@ -243,15 +243,15 @@ via your own Twig extension. To use the built-in integration, be sure that your project has Symfony's Translation and :doc:`Config </components/config/introduction>` components -installed. If you're using Composer, you could get the latest 2.3 version +installed. If you're using Composer, you could get the latest 3.x version of each of these by adding the following to your ``composer.json`` file: .. code-block:: json { "require": { - "symfony/translation": "2.3.*", - "symfony/config": "2.3.*" + "symfony/translation": "~3.0", + "symfony/config": "~3.0" } } @@ -295,13 +295,13 @@ array or object) and pass it through your own validation system. To use the integration with Symfony's Validator component, first make sure it's installed in your application. If you're using Composer and want to -install the latest 2.3 version, add this to your ``composer.json``: +install the latest 3.x version, add this to your ``composer.json``: .. code-block:: json { "require": { - "symfony/validator": "2.3.*" + "symfony/validator": "~3.0" } }