summaryrefslogtreecommitdiff
path: root/tests/classes/inheritance_003.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-03-27 16:58:30 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-05-07 13:45:28 +0200
commitfd2db1192997f5778139ea8e9d25189c7c08af2c (patch)
tree242059c49aa51b47b6edc30a404fbc2dce764b49 /tests/classes/inheritance_003.phpt
parent49c4ab3c394a6e18ab09582bccf6a26d88c4a616 (diff)
downloadphp-git-fd2db1192997f5778139ea8e9d25189c7c08af2c.tar.gz
Always generate fatal error for LSP failures
RFC: https://wiki.php.net/rfc/lsp_errors
Diffstat (limited to 'tests/classes/inheritance_003.phpt')
-rw-r--r--tests/classes/inheritance_003.phpt4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/classes/inheritance_003.phpt b/tests/classes/inheritance_003.phpt
index bcbead1be7..925544e754 100644
--- a/tests/classes/inheritance_003.phpt
+++ b/tests/classes/inheritance_003.phpt
@@ -14,7 +14,5 @@ class B extends A
}
?>
-===DONE===
--EXPECTF--
-Warning: Declaration of B::f() should be compatible with A::f($x) in %sinheritance_003.php on line %d
-===DONE===
+Fatal error: Declaration of B::f() must be compatible with A::f($x) in %sinheritance_003.php on line %d