Skip to content

Commit 85a6d22

Browse files
committed
Merge remote-tracking branch 'origin/2.2' into 2.2
2 parents 0dd8dd7 + 50e14fb commit 85a6d22

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

reference/constraints/CardScheme.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ on an object that will contain a credit card number.
3535
cardNumber:
3636
- CardScheme:
3737
schemes: [VISA]
38-
message: You credit card number is invalid.
38+
message: Your credit card number is invalid.
3939
4040
.. code-block:: xml
4141
@@ -46,7 +46,7 @@ on an object that will contain a credit card number.
4646
<option name="schemes">
4747
<value>VISA</value>
4848
</option>
49-
<option name="message">You credit card number is invalid.</option>
49+
<option name="message">Your credit card number is invalid.</option>
5050
</constraint>
5151
</property>
5252
</class>
@@ -61,7 +61,7 @@ on an object that will contain a credit card number.
6161
class Transaction
6262
{
6363
/**
64-
* @Assert\CardScheme(schemes = {"VISA"}, message = "You credit card number is invalid.")
64+
* @Assert\CardScheme(schemes = {"VISA"}, message = "Your credit card number is invalid.")
6565
*/
6666
protected $cardNumber;
6767
}
@@ -84,7 +84,7 @@ on an object that will contain a credit card number.
8484
'schemes' => array(
8585
'VISA'
8686
),
87-
'message' => 'You credit card number is invalid.',
87+
'message' => 'Your credit card number is invalid.',
8888
)));
8989
}
9090
}

reference/constraints/UserPassword.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ UserPassword
66

77
.. note::
88

9-
Since Symfony 2.2, the `UserPassword*` classes in the
10-
`Symfony\Component\Security\Core\Validator\Constraint` namespace are
9+
Since Symfony 2.2, the ``UserPassword*`` classes in the
10+
``Symfony\\Component\\Security\\Core\\Validator\\Constraint`` namespace are
1111
deprecated and will be removed in Symfony 2.3. Please use the
12-
`UserPassword*` classes in the
13-
`Symfony\Component\Security\Core\Validator\Constraints` namespace instead.
12+
``UserPassword*`` classes in the
13+
``Symfony\\Component\\Security\\Core\\Validator\\Constraints`` namespace instead.
1414

1515
This validates that an input value is equal to the current authenticated
1616
user's password. This is useful in a form where a user can change his password,

0 commit comments

Comments
 (0)