Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"assoconnect/php-percent": "^1.1",
"doctrine/dbal": "^2.10|^3.0",
"symfony/serializer": "^7.0",
"assoconnect/validator-bundle": "^2.32"
"assoconnect/validator-bundle": "^2.39.2"
},
"config": {
"allow-plugins": {
Expand Down
2 changes: 1 addition & 1 deletion tests/Doctrine/DBAL/Types/PercentTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function testConvertStringToPHPValue(): void
}

/**
* @return mixed[][]
* @return list<array<mixed>>
*/
public static function invalidPHPValuesProvider(): iterable
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Validator/Constraints/PercentValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function createValidator(): ConstraintValidator
return new PercentValidator();
}

public function providerValidValues(): iterable
public static function providerValidValues(): iterable
{
yield [null];
yield [10.0];
Expand All @@ -40,7 +40,7 @@ public function providerValidValues(): iterable
yield [new \AssoConnect\PHPPercent\Percent(20)];
}

public function providerInvalidValues(): iterable
public static function providerInvalidValues(): iterable
{
yield [
'a',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protected function getFactory(): FieldConstraintsSetProviderInterface
return new PercentProvider();
}

public function getConstraintsForTypeProvider(): iterable
public static function getConstraintsForTypeProvider(): iterable
{
yield [
[
Expand Down
Loading