Skip to content

Commit ca63778

Browse files
Fix tests
1 parent 0f9c1a4 commit ca63778

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Zend/tests/errmsg/errmsg_018.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ class test {
1010
echo "Done\n";
1111
?>
1212
--EXPECTF--
13-
Fatal error: Class test contains 1 abstract method and must therefore be declared abstract or implement the remaining method (test::foo) in %s on line %d
13+
Fatal error: Class test contains abstract method test::foo and must therefore be declared abstract in %s on line %d

tests/classes/abstract_derived.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ class derived extends base {
1313
?>
1414
===DONE===
1515
--EXPECTF--
16-
Fatal error: Class derived contains 1 abstract method and must therefore be declared abstract or implement the remaining method (derived::show) in %sabstract_derived.php on line %d
16+
Fatal error: Class derived contains abstract method derived::show and must therefore be declared abstract in %sabstract_derived.php on line %d

tests/classes/abstract_not_declared.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ class fail {
1010
echo "Done\n"; // shouldn't be displayed
1111
?>
1212
--EXPECTF--
13-
Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or implement the remaining method (fail::show) in %s on line %d
13+
Fatal error: Class fail contains abstract method fail::show and must therefore be declared abstract in %s on line %d

tests/classes/abstract_redeclare.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ class fail extends pass {
1616
echo "Done\n"; // Shouldn't be displayed
1717
?>
1818
--EXPECTF--
19-
Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or implement the remaining method (fail::show) in %sabstract_redeclare.php on line %d
19+
Fatal error: Class fail contains abstract method fail::show and must therefore be declared abstract in %sabstract_redeclare.php on line %d

tests/classes/abstract_static.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ echo "Done\n"; // shouldn't be displayed
3131
--EXPECTF--
3232
Call to function show()
3333

34-
Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or implement the remaining method (fail::func) in %sabstract_static.php(%d) : eval()'d code on line %d
34+
Fatal error: Class fail contains abstract method fail::func and must therefore be declared abstract in %sabstract_static.php(%d) : eval()'d code on line %d

0 commit comments

Comments
 (0)