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
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
],
"require": {
"php": ">=8.2",
"symfony/config": "^7.2",
"symfony/translation": "^7.2",
"symfony/validator": "^7.2"
"symfony/config": "^7.3",
"symfony/translation": "^7.3",
"symfony/validator": "^7.3"
},
"require-dev": {
"phpunit/phpunit": "^11.5",
"symfony/console": "^7.2",
"symfony/var-dumper": "^7.2",
"symfony/console": "^7.3",
"symfony/var-dumper": "^7.3",
"wyrihaximus/list-classes-in-directory": "^1.7"
},
"autoload": {
Expand Down
55 changes: 34 additions & 21 deletions src/ChainedValidatorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ public function callback(
callable|array|string|null $callback = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
): ChainedValidatorInterface&Validator;

public function cardScheme(
array|string|null $schemes,
?string $message = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
): ChainedValidatorInterface&Validator;

public function cascade(
Expand Down Expand Up @@ -113,7 +113,7 @@ public function count(
?string $divisibleByMessage = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
): ChainedValidatorInterface&Validator;

public function country(
Expand Down Expand Up @@ -151,11 +151,12 @@ public function dateTime(
?string $message = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
): ChainedValidatorInterface&Validator;

public function disableAutoMapping(
?array $options = null,
mixed $payload = null,
): ChainedValidatorInterface&Validator;

public function divisibleBy(
Expand All @@ -164,7 +165,7 @@ public function divisibleBy(
?string $message = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
): ChainedValidatorInterface&Validator;

public function email(
Expand All @@ -178,6 +179,7 @@ public function email(

public function enableAutoMapping(
?array $options = null,
mixed $payload = null,
): ChainedValidatorInterface&Validator;

public function equalTo(
Expand All @@ -186,7 +188,7 @@ public function equalTo(
?string $message = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
): ChainedValidatorInterface&Validator;

public function expression(
Expand All @@ -195,7 +197,7 @@ public function expression(
?array $values = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
?bool $negate = null,
): ChainedValidatorInterface&Validator;

Expand Down Expand Up @@ -232,6 +234,9 @@ public function file(
mixed $payload = null,
array|string|null $extensions = null,
?string $extensionsMessage = null,
?string $filenameCharset = null,
?string $filenameCountUnit = null,
?string $filenameCharsetMessage = null,
): ChainedValidatorInterface&Validator;

public function greaterThan(
Expand All @@ -240,7 +245,7 @@ public function greaterThan(
?string $message = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
): ChainedValidatorInterface&Validator;

public function greaterThanOrEqual(
Expand All @@ -249,7 +254,7 @@ public function greaterThanOrEqual(
?string $message = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
): ChainedValidatorInterface&Validator;

public function hostname(
Expand All @@ -273,7 +278,7 @@ public function identicalTo(
?string $message = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
): ChainedValidatorInterface&Validator;

public function image(
Expand Down Expand Up @@ -323,6 +328,11 @@ public function image(
?string $corruptedMessage = null,
?array $groups = null,
mixed $payload = null,
array|string|null $extensions = null,
?string $extensionsMessage = null,
?string $filenameCharset = null,
?string $filenameCountUnit = null,
?string $filenameCharsetMessage = null,
): ChainedValidatorInterface&Validator;

public function ip(
Expand Down Expand Up @@ -363,7 +373,7 @@ public function isbn(
?string $bothIsbnMessage = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
): ChainedValidatorInterface&Validator;

public function isin(
Expand Down Expand Up @@ -410,7 +420,7 @@ public function length(
?string $charsetMessage = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
): ChainedValidatorInterface&Validator;

public function lessThan(
Expand All @@ -419,7 +429,7 @@ public function lessThan(
?string $message = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
): ChainedValidatorInterface&Validator;

public function lessThanOrEqual(
Expand All @@ -428,7 +438,7 @@ public function lessThanOrEqual(
?string $message = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
): ChainedValidatorInterface&Validator;

public function locale(
Expand Down Expand Up @@ -505,7 +515,7 @@ public function notEqualTo(
?string $message = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
): ChainedValidatorInterface&Validator;

public function notIdenticalTo(
Expand All @@ -514,7 +524,7 @@ public function notIdenticalTo(
?string $message = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
): ChainedValidatorInterface&Validator;

public function notNull(
Expand Down Expand Up @@ -575,7 +585,7 @@ public function regex(
?callable $normalizer = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
): ChainedValidatorInterface&Validator;

public function required(
Expand Down Expand Up @@ -605,19 +615,20 @@ public function timezone(
?bool $intlCompatible = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
): ChainedValidatorInterface&Validator;

public function traverse(
array|bool|null $traverse = null,
mixed $payload = null,
): ChainedValidatorInterface&Validator;

public function type(
array|string|null $type,
?string $message = null,
?array $groups = null,
mixed $payload = null,
array $options = [],
?array $options = null,
): ChainedValidatorInterface&Validator;

public function ulid(
Expand All @@ -636,6 +647,7 @@ public function unique(
mixed $payload = null,
array|string|null $fields = null,
?string $errorPath = null,
?bool $stopOnFirstError = null,
): ChainedValidatorInterface&Validator;

public function url(
Expand Down Expand Up @@ -679,12 +691,13 @@ public function week(
): ChainedValidatorInterface&Validator;

public function when(
\Symfony\Component\ExpressionLanguage\Expression|array|string $expression,
\Symfony\Component\ExpressionLanguage\Expression|Closure|array|string $expression,
\Symfony\Component\Validator\Constraint|array|null $constraints = null,
?array $values = null,
?array $groups = null,
$payload = null,
array $options = [],
?array $options = null,
\Symfony\Component\Validator\Constraint|array $otherwise = [],
): ChainedValidatorInterface&Validator;

public function wordCount(
Expand Down
Loading