Skip to content

Commit f27344c

Browse files
committed
Fix: 8.0 arg info
1 parent 8af6666 commit f27344c

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ matrix:
1717
env: USE_VALGRIND=1
1818
- php: 7.3
1919
- php: 7.4
20-
- php: 8.0
20+
- php: nightly
2121

2222
addons:
2323
apt:

kernel/excel.c

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,23 +110,23 @@ ZEND_END_ARG_INFO()
110110
ZEND_BEGIN_ARG_INFO_EX(xls_get_handle_arginfo, 0, 0, 0)
111111
ZEND_END_ARG_INFO()
112112

113-
ZEND_BEGIN_ARG_INFO_EX(xls_insert_text_arginfo, 0, 0, 5)
113+
ZEND_BEGIN_ARG_INFO_EX(xls_insert_text_arginfo, 0, 0, 3)
114114
ZEND_ARG_INFO(0, row)
115115
ZEND_ARG_INFO(0, column)
116116
ZEND_ARG_INFO(0, data)
117117
ZEND_ARG_INFO(0, format)
118118
ZEND_ARG_INFO(0, format_handle)
119119
ZEND_END_ARG_INFO()
120120

121-
ZEND_BEGIN_ARG_INFO_EX(xls_insert_date_arginfo, 0, 0, 5)
121+
ZEND_BEGIN_ARG_INFO_EX(xls_insert_date_arginfo, 0, 0, 3)
122122
ZEND_ARG_INFO(0, row)
123123
ZEND_ARG_INFO(0, column)
124124
ZEND_ARG_INFO(0, timestamp)
125125
ZEND_ARG_INFO(0, format)
126126
ZEND_ARG_INFO(0, format_handle)
127127
ZEND_END_ARG_INFO()
128128

129-
ZEND_BEGIN_ARG_INFO_EX(xls_insert_url_arginfo, 0, 0, 6)
129+
ZEND_BEGIN_ARG_INFO_EX(xls_insert_url_arginfo, 0, 0, 3)
130130
ZEND_ARG_INFO(0, row)
131131
ZEND_ARG_INFO(0, column)
132132
ZEND_ARG_INFO(0, url)
@@ -195,8 +195,9 @@ ZEND_BEGIN_ARG_INFO_EX(xls_open_file_arginfo, 0, 0, 1)
195195
ZEND_ARG_INFO(0, zs_file_name)
196196
ZEND_END_ARG_INFO()
197197

198-
ZEND_BEGIN_ARG_INFO_EX(xls_open_sheet_arginfo, 0, 0, 1)
198+
ZEND_BEGIN_ARG_INFO_EX(xls_open_sheet_arginfo, 0, 0, 0)
199199
ZEND_ARG_INFO(0, zs_sheet_name)
200+
ZEND_ARG_INFO(0, zl_flag)
200201
ZEND_END_ARG_INFO()
201202

202203
ZEND_BEGIN_ARG_INFO_EX(xls_put_csv_arginfo, 0, 0, 1)
@@ -236,7 +237,7 @@ ZEND_BEGIN_ARG_INFO_EX(xls_set_skip_arginfo, 0, 0, 1)
236237
ZEND_ARG_INFO(0, zv_skip_t)
237238
ZEND_END_ARG_INFO()
238239

239-
ZEND_BEGIN_ARG_INFO_EX(xls_next_cell_callback_arginfo, 0, 0, 2)
240+
ZEND_BEGIN_ARG_INFO_EX(xls_next_cell_callback_arginfo, 0, 0, 1)
240241
ZEND_ARG_INFO(0, fci)
241242
ZEND_ARG_INFO(0, sheet_name)
242243
ZEND_END_ARG_INFO()

kernel/format.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ ZEND_BEGIN_ARG_INFO_EX(format_underline_arginfo, 0, 0, 1)
7373
ZEND_END_ARG_INFO()
7474

7575
ZEND_BEGIN_ARG_INFO_EX(format_align_arginfo, 0, 0, 1)
76-
ZEND_ARG_INFO(0, style)
76+
ZEND_ARG_VARIADIC_INFO(0, style)
7777
ZEND_END_ARG_INFO()
7878

7979
ZEND_BEGIN_ARG_INFO_EX(format_color_arginfo, 0, 0, 1)

0 commit comments

Comments
 (0)