Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
64b66b13
Commit
64b66b13
authored
Feb 04, 2013
by
Igor Wiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[docs] Adjust symfony/* constraints to use tilde operator
This will hopefully make upgrade to 2.2 more seamless
parent
b356c04f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
13 deletions
+13
-13
doc/cookbook/validator_yaml.rst
doc/cookbook/validator_yaml.rst
+1
-1
doc/providers/form.rst
doc/providers/form.rst
+6
-6
doc/providers/security.rst
doc/providers/security.rst
+1
-1
doc/providers/translation.rst
doc/providers/translation.rst
+3
-3
doc/providers/twig.rst
doc/providers/twig.rst
+1
-1
doc/providers/validator.rst
doc/providers/validator.rst
+1
-1
No files found.
doc/cookbook/validator_yaml.rst
View file @
64b66b13
...
@@ -11,7 +11,7 @@ your ``composer.json`` file:
...
@@ -11,7 +11,7 @@ your ``composer.json`` file:
.. code-block:: json
.. code-block:: json
"require": {
"require": {
"symfony/yaml": "
2.1.*
"
"symfony/yaml": "
~2.1
"
}
}
Next, you need to tell the Validation Service that you are not using
Next, you need to tell the Validation Service that you are not using
...
...
doc/providers/form.rst
View file @
64b66b13
...
@@ -55,7 +55,7 @@ Registering
...
@@ -55,7 +55,7 @@ Registering
.. code-block:: json
.. code-block:: json
"require": {
"require": {
"symfony/form": "
2.1.*
"
"symfony/form": "
~2.1
"
}
}
If you are going to use the validation extension with forms, you must also
If you are going to use the validation extension with forms, you must also
...
@@ -65,9 +65,9 @@ Registering
...
@@ -65,9 +65,9 @@ Registering
.. code-block:: json
.. code-block:: json
"require": {
"require": {
"symfony/validator": "
2.1.*
",
"symfony/validator": "
~2.1
",
"symfony/config": "
2.1.*
",
"symfony/config": "
~2.1
",
"symfony/translation": "
2.1.*
"
"symfony/translation": "
~2.1
"
}
}
The Symfony Form Component relies on the PHP intl extension. If you don't have
The Symfony Form Component relies on the PHP intl extension. If you don't have
...
@@ -76,7 +76,7 @@ Registering
...
@@ -76,7 +76,7 @@ Registering
.. code-block:: json
.. code-block:: json
"require": {
"require": {
"symfony/locale": "
2.1.*
"
"symfony/locale": "
~2.1
"
}
}
If you want to use forms in your Twig templates, make sure to install the
If you want to use forms in your Twig templates, make sure to install the
...
@@ -85,7 +85,7 @@ Registering
...
@@ -85,7 +85,7 @@ Registering
.. code-block:: json
.. code-block:: json
"require": {
"require": {
"symfony/twig-bridge": "
2.1.*
"
"symfony/twig-bridge": "
~2.1
"
}
}
Usage
Usage
...
...
doc/providers/security.rst
View file @
64b66b13
...
@@ -60,7 +60,7 @@ Registering
...
@@ -60,7 +60,7 @@ Registering
.. code-block:: json
.. code-block:: json
"require": {
"require": {
"symfony/security": "
2.1.*
"
"symfony/security": "
~2.1
"
}
}
.. caution::
.. caution::
...
...
doc/providers/translation.rst
View file @
64b66b13
...
@@ -50,7 +50,7 @@ Registering
...
@@ -50,7 +50,7 @@ Registering
.. code-block:: json
.. code-block:: json
"require": {
"require": {
"symfony/translation": "
2.1.*
"
"symfony/translation": "
~2.1
"
}
}
Usage
Usage
...
@@ -126,8 +126,8 @@ file:
...
@@ -126,8 +126,8 @@ file:
.. code-block:: json
.. code-block:: json
"require": {
"require": {
"symfony/config": "
2.1.*
",
"symfony/config": "
~2.1
",
"symfony/yaml": "
2.1.*
"
"symfony/yaml": "
~2.1
"
}
}
Next, you have to create the language mappings in YAML files. A naming you can
Next, you have to create the language mappings in YAML files. A naming you can
...
...
doc/providers/twig.rst
View file @
64b66b13
...
@@ -60,7 +60,7 @@ some Symfony2 components and Twig. Add it as a dependency to your
...
@@ -60,7 +60,7 @@ some Symfony2 components and Twig. Add it as a dependency to your
.. code-block:: json
.. code-block:: json
"require": {
"require": {
"symfony/twig-bridge": "
2.1.*
",
"symfony/twig-bridge": "
~2.1
",
}
}
When present, the ``TwigServiceProvider`` will provide you with the following
When present, the ``TwigServiceProvider`` will provide you with the following
...
...
doc/providers/validator.rst
View file @
64b66b13
...
@@ -44,7 +44,7 @@ Registering
...
@@ -44,7 +44,7 @@ Registering
.. code-block:: json
.. code-block:: json
"require": {
"require": {
"symfony/validator": "
2.1.*
"
"symfony/validator": "
~2.1
"
}
}
Usage
Usage
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment