Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2022-10-04 23:24:08 +0300
committerMichael Grunder <michael.grunder@gmail.com>2022-10-08 17:50:18 +0300
commitbebd398c67eaba7d7f612bc1bf5f07a7470787f2 (patch)
treea136bc6b39d06a10369bf7141206d205daaa6938 /redis_commands.c
parent19bb553e97ccc4a1cc8f24926d1cd8080a53c529 (diff)
WIP: Update stubs so the tests pass in strict mode
These changes allow the PHP 8 unit tests to pass even when zpp strict mode is enabled. I'm not exactly sure which setting causes the issue, but without these changes I get many `zpp` errors if I run the tests inside of a PHP build tree.
Diffstat (limited to 'redis_commands.c')
-rw-r--r--redis_commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/redis_commands.c b/redis_commands.c
index 22c19a8d..d3a0a216 100644
--- a/redis_commands.c
+++ b/redis_commands.c
@@ -1415,6 +1415,7 @@ int redis_key_varval_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
// We at least need a key and one value
if (argc < 2) {
+ zend_wrong_param_count();
return FAILURE;
}