Skip to content

Commit 360a202

Browse files
committed
Merge pull request symfony#2657 from jbafford/doubled-words-21
Fix doubled words
2 parents 62ae5c6 + 204620c commit 360a202

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

components/config/definition.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ and sometimes only:
387387
388388
By default ``connection`` would be an array in the first case and a string
389389
in the second making it difficult to validate. You can ensure it is always
390-
an array with with ``fixXmlConfig``.
390+
an array with ``fixXmlConfig``.
391391

392392
You can further control the normalization process if you need to. For example,
393393
you may want to allow a string to be set and used as a particular key or several

components/event_dispatcher/container_aware_dispatcher.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Adding Subscriber Services
5959
``EventSubscribers`` can be added using the
6060
:method:`Symfony\\Component\\EventDispatcher\\ContainerAwareEventDispatcher::addSubscriberService`
6161
method where the first argument is the service ID of the subscriber service,
62-
and the second argument is the the service's class name (which must implement
62+
and the second argument is the service's class name (which must implement
6363
:class:`Symfony\\Component\\EventDispatcher\\EventSubscriberInterface`) as follows::
6464

6565
$dispatcher->addSubscriberService(

cookbook/console/sending_emails.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ How to generate URLs and send Emails from the Console
66
=====================================================
77

88
Unfortunately, the command line context does not know about your VirtualHost
9-
or domain name. This means that if if you generate absolute URLs within a
9+
or domain name. This means that if you generate absolute URLs within a
1010
Console Command you'll probably end up with something like ``http://localhost/foo/bar``
1111
which is not very useful.
1212

cookbook/deployment-tools.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The typical steps taken while deploying a Symfony2 application include:
2323

2424
A deployment may also include other things, such as:
2525

26-
* Tagging a particular version of of your code as a release in your source control repository;
26+
* Tagging a particular version of your code as a release in your source control repository;
2727
* Creating a temporary staging area to build your updated setup "offline";
2828
* Running any tests available to ensure code and/or server stability;
2929
* Removal of any unnecessary files from ``web`` to keep your production environment clean;

reference/constraints/Collection.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ field is optional but must be a valid email if supplied, you can do the followin
226226
227227
Even without ``allowMissingFields`` set to true, you can now omit the ``alternate_email``
228228
property completely from the ``profileData`` array, since it is ``Optional``.
229-
However, if the the ``personal_email`` field does not exist in the array,
229+
However, if the ``personal_email`` field does not exist in the array,
230230
the ``NotBlank`` constraint will still be applied (since it is wrapped in
231231
``Required``) and you will receive a constraint violation.
232232

reference/constraints/Length.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To verify that the ``firstName`` field length of a class is between "2" and
3939
min: 2
4040
max: 50
4141
minMessage: "Your first name must be at least {{ limit }} characters length"
42-
maxMessage: "Your first name cannot be longer than than {{ limit }} characters length"
42+
maxMessage: "Your first name cannot be longer than {{ limit }} characters length"
4343
4444
.. code-block:: php-annotations
4545
@@ -55,7 +55,7 @@ To verify that the ``firstName`` field length of a class is between "2" and
5555
* min = "2",
5656
* max = "50",
5757
* minMessage = "Your first name must be at least {{ limit }} characters length",
58-
* maxMessage = "Your first name cannot be longer than than {{ limit }} characters length"
58+
* maxMessage = "Your first name cannot be longer than {{ limit }} characters length"
5959
* )
6060
*/
6161
protected $firstName;
@@ -70,7 +70,7 @@ To verify that the ``firstName`` field length of a class is between "2" and
7070
<option name="min">2</option>
7171
<option name="max">50</option>
7272
<option name="minMessage">Your first name must be at least {{ limit }} characters length</option>
73-
<option name="maxMessage">Your first name cannot be longer than than {{ limit }} characters length</option>
73+
<option name="maxMessage">Your first name cannot be longer than {{ limit }} characters length</option>
7474
</constraint>
7575
</property>
7676
</class>
@@ -91,7 +91,7 @@ To verify that the ``firstName`` field length of a class is between "2" and
9191
'min' => 2,
9292
'max' => 50,
9393
'minMessage' => 'Your first name must be at least {{ limit }} characters length',
94-
'maxMessage' => 'Your first name cannot be longer than than {{ limit }} characters length',
94+
'maxMessage' => 'Your first name cannot be longer than {{ limit }} characters length',
9595
)));
9696
}
9797
}
@@ -121,7 +121,7 @@ charset
121121
**type**: ``string`` **default**: ``UTF-8``
122122

123123
The charset to be used when computing value's length. The :phpfunction:`grapheme_strlen` PHP
124-
function is used if available. If not, the the :phpfunction:`mb_strlen` PHP function
124+
function is used if available. If not, the :phpfunction:`mb_strlen` PHP function
125125
is used if available. If neither are available, the :phpfunction:`strlen` PHP function
126126
is used.
127127

0 commit comments

Comments
 (0)