summaryrefslogtreecommitdiff
path: root/Zend/tests/argument_restriction_006.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 /Zend/tests/argument_restriction_006.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 'Zend/tests/argument_restriction_006.phpt')
-rw-r--r--Zend/tests/argument_restriction_006.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/argument_restriction_006.phpt b/Zend/tests/argument_restriction_006.phpt
index 2df0e1e90d..788670cd51 100644
--- a/Zend/tests/argument_restriction_006.phpt
+++ b/Zend/tests/argument_restriction_006.phpt
@@ -13,4 +13,4 @@ class Sub extends Base {
}
?>
--EXPECTF--
-Warning: Declaration of Sub::test($foo, $extra) should be compatible with Base::test($foo, $extra = Array) in %sargument_restriction_006.php on line %d
+Fatal error: Declaration of Sub::test($foo, $extra) must be compatible with Base::test($foo, $extra = Array) in %sargument_restriction_006.php on line %d