|
Some tests pass argument arrays of the wrong size to validateParameters().
This was not noticed so far since these tests either are for cross-parameter validation or e.g. centered around the first parameter of a method with two parameters to which one argument is actually passed. This hinders though eagerly checking whether the number of arguments matches the parameter count of the validated method/constructor.
Effected tests:
-
ConstraintCompositionTest#testConstraintTargetPropagationInComposedConstraints:290
-
CustomPropertyPathTest#testAddParameterNode:151
-
CustomPropertyPathTest#testAddParameterNodeUsingCustomParameterNameProvider:177
-
ValidateParametersTest#testTwoViolationsOnSameParameter:192
-
ValidateParametersTest#testValidationWithGroup:307
-
ValidateConstructorParametersTest#testTwoViolationsOnSameParameter:181
-
ValidateConstructorParametersTest#testValidationWithGroup:284
|