@@ -77,7 +77,7 @@ public static function dataValidationFailed(): array
7777 'min ' => [
7878 '2024-03-29 ' ,
7979 new Date (format: 'yyyy-MM-dd ' , min: '2025-01-01 ' ),
80- ['' => ['Value must be no early than 1/1/25. ' ]],
80+ ['' => ['Value must be no earlier than 1/1/25. ' ]],
8181 ],
8282 'min-custom-message ' => [
8383 ['a ' => '2024-03-29 ' ],
@@ -93,7 +93,7 @@ public static function dataValidationFailed(): array
9393 'max ' => [
9494 '2024-03-29 ' ,
9595 new Date (format: 'php:Y-m-d ' , max: '2024-01-01 ' ),
96- ['' => ['Value must be no late than 1/1/24. ' ]],
96+ ['' => ['Value must be no later than 1/1/24. ' ]],
9797 ],
9898 'max-custom-message ' => [
9999 ['a ' => '2024-03-29 ' ],
@@ -109,48 +109,48 @@ public static function dataValidationFailed(): array
109109 'rule-and-handler-locales ' => [
110110 '2024-03-29 ' ,
111111 new Date (format: 'php:Y-m-d ' , locale: 'ru ' , max: '2024-01-01 ' ),
112- ['' => ['Value must be no late than 01.01.2024. ' ]],
112+ ['' => ['Value must be no later than 01.01.2024. ' ]],
113113 [DateHandler::class => new DateHandler (locale: 'en ' )],
114114 ],
115115 'handler-locale ' => [
116116 '2024-03-29 ' ,
117117 new Date (format: 'php:Y-m-d ' , max: '2024-01-01 ' ),
118- ['' => ['Value must be no late than 01.01.2024. ' ]],
118+ ['' => ['Value must be no later than 01.01.2024. ' ]],
119119 [DateHandler::class => new DateHandler (locale: 'ru ' )],
120120 ],
121121 'timestamp ' => [
122122 1711705158 ,
123123 new Date (min: 1711705200 ),
124- ['' => ['Value must be no early than 3/29/24. ' ]],
124+ ['' => ['Value must be no earlier than 3/29/24. ' ]],
125125 ],
126126 'without-message-date-type ' => [
127127 '29*03*2024 ' ,
128128 new Date (format: 'php:d*m*Y ' , max: '11*11*2023 ' , ),
129- ['' => ['Value must be no late than 11/11/23. ' ]],
129+ ['' => ['Value must be no later than 11/11/23. ' ]],
130130 [DateHandler::class => new DateHandler (messageDateType: null )],
131131 ],
132132 'rule-message-format ' => [
133133 '29*03*2024 ' ,
134134 new Date (format: 'php:d*m*Y ' , max: '11*11*2023 ' , messageFormat: 'php:d=m=Y ' ),
135- ['' => ['Value must be no late than 11=11=2023. ' ]],
135+ ['' => ['Value must be no later than 11=11=2023. ' ]],
136136 [DateHandler::class => new DateHandler (messageFormat: 'php:d_m_Y ' )],
137137 ],
138138 'handler-message-type ' => [
139139 'Mar 29, 2024 ' ,
140140 new Date (max: 'Dec 11, 2019 ' , dateType: IntlDateFormatter::MEDIUM ),
141- ['' => ['Value must be no late than Wednesday, December 11, 2019. ' ]],
141+ ['' => ['Value must be no later than Wednesday, December 11, 2019. ' ]],
142142 [DateHandler::class => new DateHandler (messageDateType: IntlDateFormatter::FULL )],
143143 ],
144144 'rule-message-type-override-handler ' => [
145145 '3/29/2024 ' ,
146146 new Date (max: '12/11/2019 ' , messageDateType: IntlDateFormatter::SHORT ),
147- ['' => ['Value must be no late than 12/11/19. ' ]],
147+ ['' => ['Value must be no later than 12/11/19. ' ]],
148148 [DateHandler::class => new DateHandler (messageDateType: IntlDateFormatter::FULL )],
149149 ],
150150 'rule-locale-override-handler ' => [
151151 '12.11.2002 ' ,
152152 new Date (max: '10.11.2002 ' , locale: 'ru ' ),
153- ['' => ['Value must be no late than 10.11.2002. ' ]],
153+ ['' => ['Value must be no later than 10.11.2002. ' ]],
154154 [DateHandler::class => new DateHandler (locale: 'en ' )],
155155 ],
156156 ];
0 commit comments