summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/classes/abstract_not_declared.phpt2
-rw-r--r--tests/classes/interface_must_be_implemented.phpt2
-rw-r--r--tests/classes/interfaces_002.phpt2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/classes/abstract_not_declared.phpt b/tests/classes/abstract_not_declared.phpt
index 0c1178ceff..4a2a94b25e 100644
--- a/tests/classes/abstract_not_declared.phpt
+++ b/tests/classes/abstract_not_declared.phpt
@@ -12,4 +12,4 @@ class fail {
echo "Done\n"; // shouldn't be displayed
?>
--EXPECTF--
-Fatal error: Class fail contains abstract methods and must be declared abstract in %s on line %d
+Fatal error: Class fail contains 1 abstract methods and must therefore be declared abstract (fail::show) in %s on line %d
diff --git a/tests/classes/interface_must_be_implemented.phpt b/tests/classes/interface_must_be_implemented.phpt
index 517a65bea7..5277fadfa0 100644
--- a/tests/classes/interface_must_be_implemented.phpt
+++ b/tests/classes/interface_must_be_implemented.phpt
@@ -14,4 +14,4 @@ class derived_a implements if_a {
?>
--EXPECTF--
-Fatal error: Class derived_a contains abstract methods and must be declared abstract in %s on line %d
+Fatal error: Class derived_a contains 1 abstract methods and must therefore be declared abstract (if_a::f_a) in %s on line %d
diff --git a/tests/classes/interfaces_002.phpt b/tests/classes/interfaces_002.phpt
index baa0ec7592..d5267bfcf2 100644
--- a/tests/classes/interfaces_002.phpt
+++ b/tests/classes/interfaces_002.phpt
@@ -25,5 +25,5 @@ echo $foo->getMessage() . "\n";
?>
--EXPECTF--
-Fatal error: Class exception_foo contains abstract methods and must be declared abstract in %s on line %d
+Fatal error: Class exception_foo contains 1 abstract methods and must therefore be declared abstract (throwable::geterrno) in %s on line %d