From 89432f57aa9769d2efd5b8934241d10b005afd1a Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 28 Dec 2017 11:27:06 +0100 Subject: Implement hooking on user-defined functions return values This should close #99, thanks to @blotus for the implementation idea! --- src/tests/disabled_functions_ret_type_object.phpt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/tests') diff --git a/src/tests/disabled_functions_ret_type_object.phpt b/src/tests/disabled_functions_ret_type_object.phpt index 66f298c..eb07cc3 100644 --- a/src/tests/disabled_functions_ret_type_object.phpt +++ b/src/tests/disabled_functions_ret_type_object.phpt @@ -4,8 +4,6 @@ Disable functions check on `ret` by type matching (object). --INI-- sp.configuration_file={PWD}/config/disabled_functions_ret_type_object.ini ---XFAIL-- -We're not implementing hooking on retval of user functions yet --FILE-- --EXPECTF-- +[snuffleupagus][0.0.0.0][disabled_function][drop] The execution has been aborted in %a/tests/disabled_functions_ret_type_object.php:5, because the return value (OBJECT) of the function 'a' matched a rule. -- cgit v1.3