You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -207,30 +214,25 @@ public function paramProvider()
207
214
,
208
215
false,
209
216
],
210
-
];
211
-
212
-
if (version_compare(Version::VERSION, '2.6', '>=')) {
213
-
$tests[] = ['this is not a date', ['date'], "⚠ Could not convert PHP value 'this is not a date' of type 'string' to type 'date'. Expected one of the following types: null, DateTime", false, false];
214
-
$tests[] = [
217
+
['this is not a date', ['date'], "⚠ Could not convert PHP value 'this is not a date'%S to type %Sdate%S. Expected one of the following types: null, DateTime", false, false],
218
+
[
215
219
new \stdClass(),
216
220
['date'],
217
221
<<<EOTXT
218
222
{#%d
219
-
⚠: "Could not convert PHP value of type 'stdClass' to type 'date'. Expected one of the following types: null, DateTime"
223
+
⚠: "Could not convert PHP value of type %SstdClass%S to type %Sdate%S. Expected one of the following types: null, DateTime"
0 commit comments