Skip to content

Commit 5257682

Browse files
committed
run tests with PHPUnit 12.3
1 parent 1d6573c commit 5257682

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Constraints/LengthValidatorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public static function getThreeCharactersWithWhitespaces()
117117
}
118118

119119
#[DataProvider('getFiveOrMoreCharacters')]
120-
public function testValidValuesMin(int|string $value)
120+
public function testValidValuesMin(int|string $value, int $valueLength)
121121
{
122122
$constraint = new Length(min: 5);
123123
$this->validator->validate($value, $constraint);
@@ -126,7 +126,7 @@ public function testValidValuesMin(int|string $value)
126126
}
127127

128128
#[DataProvider('getThreeOrLessCharacters')]
129-
public function testValidValuesMax(int|string $value)
129+
public function testValidValuesMax(int|string $value, int $valueLength)
130130
{
131131
$constraint = new Length(max: 3);
132132
$this->validator->validate($value, $constraint);

0 commit comments

Comments
 (0)