File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/fixtures/make-validator/expected Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 88<?= $ class_data ->getClassDeclaration (); ?>
99
1010{
11- public string $message = 'The string "{{ string }}" contains an illegal character: it can only contain letters or numbers.';
11+ public string $message = 'The string "{{ value }}" contains an illegal character: it can only contain letters or numbers.';
1212
1313 // You can use #[HasNamedArguments] to make some constraint options required.
1414 // All configurable options must be passed to the constructor.
Original file line number Diff line number Diff line change 77#[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE )]
88final class FooBar extends Constraint
99{
10- public string $ message = 'The string "{{ string }}" contains an illegal character: it can only contain letters or numbers. ' ;
10+ public string $ message = 'The string "{{ value }}" contains an illegal character: it can only contain letters or numbers. ' ;
1111
1212 // You can use #[HasNamedArguments] to make some constraint options required.
1313 // All configurable options must be passed to the constructor.
You can’t perform that action at this time.
0 commit comments