Zend: add missing ZPP tests
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 52/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- c
- 领域
- testing-qa
调研方向
首先检查 issue #23192 中的工作以及列出的 Zend 参数解析说明符。为尚未检查的宏和变体添加覆盖,然后验证相应的 ZPP 测试是否覆盖每个列出的情况。
由索引模型根据 Issue 内容生成。
描述
Effectively continuing the work started in #23192.
This is a good first issues for newcomers.
The missing specifiers are:
- Z_PARAM_ENUM(dest, _ce)
- old "a"
- Z_PARAM_ARRAY_EX2(dest, check_null, deref, separate)
- Z_PARAM_ARRAY_EX(dest, check_null, separate)
- Z_PARAM_ARRAY(dest)
- Z_PARAM_ARRAY_OR_NULL(dest)
- old "A"
- Z_PARAM_ARRAY_OR_OBJECT_EX2(dest, check_null, deref, separate)
- Z_PARAM_ARRAY_OR_OBJECT_EX(dest, check_null, separate)
- Z_PARAM_ARRAY_OR_OBJECT(dest)
- old "h"
- Z_PARAM_ARRAY_HT_EX2(dest, check_null, deref, separate)
- Z_PARAM_ARRAY_HT_EX(dest, check_null, separate)
- Z_PARAM_ARRAY_HT(dest)
- Z_PARAM_ARRAY_HT_OR_NULL(dest)
-
array|int:- Z_PARAM_ARRAY_HT_OR_LONG_EX(dest_ht, dest_long, is_null, allow_null)
- Z_PARAM_ARRAY_HT_OR_LONG(dest_ht, dest_long)
- Z_PARAM_ARRAY_HT_OR_LONG_OR_NULL(dest_ht, dest_long, is_null)
-
array|string:- Z_PARAM_ARRAY_HT_OR_STR_EX(dest_ht, dest_str, allow_null)
- Z_PARAM_ARRAY_HT_OR_STR(dest_ht, dest_str)
- Z_PARAM_ARRAY_HT_OR_STR_OR_NULL(dest_ht, dest_str)
- old "H"
- Z_PARAM_ARRAY_OR_OBJECT_HT_EX2(dest, check_null, deref, separate)
- Z_PARAM_ARRAY_OR_OBJECT_HT_EX(dest, check_null, separate)
- Z_PARAM_ARRAY_OR_OBJECT_HT(dest)
- old "f"
- Z_PARAM_FUNC_EX2(dest_fci, dest_fcc, check_null, deref, free_trampoline)
- Z_PARAM_FUNC_EX(dest_fci, dest_fcc, check_null, deref)
- Z_PARAM_FUNC(dest_fci, dest_fcc)
- Z_PARAM_FUNC_NO_TRAMPOLINE_FREE(dest_fci, dest_fcc)
- Z_PARAM_FUNC_OR_NULL(dest_fci, dest_fcc)
- Z_PARAM_FUNC_NO_TRAMPOLINE_FREE_OR_NULL(dest_fci, dest_fcc)
- old "p"
- Z_PARAM_PATH_EX(dest, dest_len, check_null, deref)
- Z_PARAM_PATH(dest, dest_len)
- Z_PARAM_PATH_OR_NULL(dest, dest_len)
- old "P"
- Z_PARAM_PATH_STR_EX(dest, check_null, deref)
- Z_PARAM_PATH_STR(dest)
- Z_PARAM_PATH_STR_OR_NULL(dest)
- old "s"
- Z_PARAM_STRING_EX(dest, dest_len, check_null, deref)
- Z_PARAM_STRING(dest, dest_len)
- Z_PARAM_STRING_OR_NULL(dest, dest_len)
- old "S"
- Z_PARAM_STR_EX(dest, check_null, deref)
- Z_PARAM_STR(dest)
- Z_PARAM_STR_OR_NULL(dest)
-
string|int- Z_PARAM_STR_OR_LONG_EX(dest_str, dest_long, is_null, allow_null)
- Z_PARAM_STR_OR_LONG(dest_str, dest_long)
- Z_PARAM_STR_OR_LONG_OR_NULL(dest_str, dest_long, is_null)
- old "z"
- Z_PARAM_ZVAL_EX2(dest, check_null, deref, separate)
- Z_PARAM_ZVAL_EX(dest, check_null, separate)
- Z_PARAM_ZVAL(dest)
- Z_PARAM_ZVAL_OR_NULL(dest)
- old "+" and "*"
- Z_PARAM_VARIADIC_EX(spec, dest, dest_num, post_varargs)
- Z_PARAM_VARIADIC(spec, dest, dest_num)
- Z_PARAM_VARIADIC_WITH_NAMED(dest, dest_num, dest_named)
- 主要语言
- C
- 星标
- 40.4k
- 派生
- 8.2k
- 平均合并
- 2 天 15 小时
- 30 天内合并 PR
- 103
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
php/php-src 的其他 Issue
-
Bug SAPI: cli_server Status: Verified
难度 2/5 1-3 小时 新手友好度 88/100
-
Bug Status: Needs Triage
难度 2/5 1-3 小时 新手友好度 76/100
-
Bug Status: Needs Triage
难度 1/5 1 小时以内 新手友好度 90/100
-
Bug Status: Needs Triage
难度 2/5 1-3 小时 新手友好度 78/100
-
Bug Category: Tests Status: Verified
难度 2/5 1-3 小时 新手友好度 68/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
zephyrproject-rtos/zephyr#119726 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
api7/lua-resty-saml#63 ·
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
BasedHardware/omi#15320 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 条评论 ·