Skip to content

Commit 3c3bc0b

Browse files
keradusfabpot
authored andcommitted
[CS] Apply phpdoc_annotation_without_dot
1 parent 9931c89 commit 3c3bc0b

9 files changed

+21
-21
lines changed

Constraint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public function __set($option, $value)
209209
*
210210
* @throws InvalidOptionsException If an invalid option name is given
211211
*
212-
* @internal This method should not be used or overwritten in userland code.
212+
* @internal this method should not be used or overwritten in userland code
213213
*/
214214
public function __get($option)
215215
{

ConstraintViolationInterface.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ public function getMessageTemplate();
5656
/**
5757
* Returns the parameters to be inserted into the raw violation message.
5858
*
59-
* @return array A possibly empty list of parameters indexed by the names
60-
* that appear in the message template.
59+
* @return array a possibly empty list of parameters indexed by the names
60+
* that appear in the message template
6161
*
6262
* @see getMessageTemplate()
6363
* @deprecated since version 2.7, to be replaced by getParameters() in 3.0.
@@ -111,8 +111,8 @@ public function getPropertyPath();
111111
/**
112112
* Returns the value that caused the violation.
113113
*
114-
* @return mixed The invalid value that caused the validated constraint to
115-
* fail.
114+
* @return mixed the invalid value that caused the validated constraint to
115+
* fail
116116
*/
117117
public function getInvalidValue();
118118

ConstraintViolationListInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function addAll(ConstraintViolationListInterface $otherList);
3939
*
4040
* @return ConstraintViolationInterface The violation
4141
*
42-
* @throws \OutOfBoundsException If the offset does not exist.
42+
* @throws \OutOfBoundsException if the offset does not exist
4343
*/
4444
public function get($offset);
4545

DefaultTranslator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ public function trans($id, array $parameters = array(), $domain = null, $locale
129129
*
130130
* @return string The translated string
131131
*
132-
* @throws InvalidArgumentException If the message id does not have the format
133-
* "singular|plural".
132+
* @throws InvalidArgumentException if the message id does not have the format
133+
* "singular|plural"
134134
*/
135135
public function transChoice($id, $number, array $parameters = array(), $domain = null, $locale = null)
136136
{

ExecutionContextInterface.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ public function addViolationAt($subPath, $message, array $parameters = array(),
150150
* @param null|string|string[] $groups The groups to validate in. If you don't pass any
151151
* groups here, the current group of the context
152152
* will be used.
153-
* @param bool $traverse Whether to traverse the value if it is an array
154-
* or an instance of <tt>\Traversable</tt>.
155-
* @param bool $deep Whether to traverse the value recursively if
156-
* it is a collection of collections.
153+
* @param bool $traverse whether to traverse the value if it is an array
154+
* or an instance of <tt>\Traversable</tt>
155+
* @param bool $deep whether to traverse the value recursively if
156+
* it is a collection of collections
157157
*
158158
* @deprecated since version 2.5, to be removed in 3.0.
159159
* Use {@link Context\ExecutionContextInterface::getValidator()}
@@ -237,8 +237,8 @@ public function getValue();
237237
* has been called with a plain value and constraint, this method returns
238238
* null.
239239
*
240-
* @return MetadataInterface|null The metadata of the currently validated
241-
* value.
240+
* @return MetadataInterface|null the metadata of the currently validated
241+
* value
242242
*/
243243
public function getMetadata();
244244

Validation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ final class Validation
2121
/**
2222
* The Validator API provided by Symfony 2.4 and older.
2323
*
24-
* @deprecated use API_VERSION_2_5_BC instead.
24+
* @deprecated use API_VERSION_2_5_BC instead
2525
*/
2626
const API_VERSION_2_4 = 1;
2727

ValidationVisitorInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ interface ValidationVisitorInterface
6262
* @param bool $traverse Whether to traverse the value if it is traversable
6363
* @param bool $deep Whether to traverse nested traversable values recursively
6464
*
65-
* @throws Exception\NoSuchMetadataException If no metadata can be found for
66-
* the given value.
65+
* @throws Exception\NoSuchMetadataException if no metadata can be found for
66+
* the given value
6767
*/
6868
public function validate($value, $group, $propertyPath, $traverse = false, $deep = false);
6969

Validator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function validate($value, $groups = null, $traverse = false, $deep = fals
108108
/**
109109
* {@inheritdoc}
110110
*
111-
* @throws ValidatorException If the metadata for the value does not support properties.
111+
* @throws ValidatorException if the metadata for the value does not support properties
112112
*/
113113
public function validateProperty($containingValue, $property, $groups = null)
114114
{
@@ -139,7 +139,7 @@ public function validateProperty($containingValue, $property, $groups = null)
139139
/**
140140
* {@inheritdoc}
141141
*
142-
* @throws ValidatorException If the metadata for the value does not support properties.
142+
* @throws ValidatorException if the metadata for the value does not support properties
143143
*/
144144
public function validatePropertyValue($containingValue, $property, $value, $groups = null)
145145
{

ValidatorInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ public function validateProperty($containingValue, $property, $groups = null);
6464
*
6565
* @param mixed $containingValue The value containing the property
6666
* @param string $property The name of the property to validate
67-
* @param string $value The value to validate against the
68-
* constraints of the property.
67+
* @param string $value the value to validate against the
68+
* constraints of the property
6969
* @param array|null $groups The validation groups to validate
7070
*
7171
* @return ConstraintViolationListInterface A list of constraint violations. If the

0 commit comments

Comments
 (0)