]> granicus.if.org Git - php/commitdiff
Update test for warning -> fatal error change
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 30 Jan 2020 11:12:09 +0000 (12:12 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 30 Jan 2020 11:12:09 +0000 (12:12 +0100)
Zend/tests/type_declarations/variance/internal_parent.phpt

index eaef902b668f3b3bb0690117523d2934a7d20b0b..d31dcb17a82b4dc0fd01d1c1101e0008993739fd 100644 (file)
@@ -9,4 +9,4 @@ class Test extends DateTime {
 
 ?>
 --EXPECTF--
-Warning: Could not check compatibility between Test::createFromFormat($format, $time, ?Wrong $timezone = NULL) and DateTime::createFromFormat($format, $time, ?DateTimeZone $object = NULL), because class Wrong is not available in %s on line %d
+Fatal error: Could not check compatibility between Test::createFromFormat($format, $time, ?Wrong $timezone = NULL) and DateTime::createFromFormat(string $format, string $time, ?DateTimeZone $timezone = NULL), because class Wrong is not available in %s on line %d