com php-src: Fix arginfo for tidy::__construct(): NEWS ext/tidy/tidy.c

From: Date: Mon, 13 Aug 2018 14:09:32 +0000
Subject: com php-src: Fix arginfo for tidy::__construct(): NEWS ext/tidy/tidy.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-102873@lists.php.net to get a copy of this message
Commit: dcd4b321859cdf494cb85ac937ad6339121a8c29 Author: Tyson Andre <tysonandre775@hotmail.com> Mon, 13 Aug 2018 08:44:33 -0400 Committer: Christoph M. Becker <cmbecker69@gmx.de> Mon, 13 Aug 2018 16:09:32 +0200 Parents: 8270c7d94723adf05df44267a4a04a22079577d0 Branches: PHP-7.3 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dcd4b321859cdf494cb85ac937ad6339121a8c29 Log: Fix arginfo for tidy::__construct() This was split out of PR #3439 Previously, the arginfo was wrong for these methods. getNumberOfRequiredParameters() was 4 for that method. Compare with http://php.net/manual/en/tidy.construct.php) This fixes the arginfo added to PHP 7.3 in 97353cda99 Bugs: https://bugs.php.net/3439 Changed paths: M NEWS M ext/tidy/tidy.c Diff: diff --git a/NEWS b/NEWS index bf3cb8c..767f78a 100644 --- a/NEWS +++ b/NEWS @@ -30,6 +30,9 @@ PHP NEWS . Fixed bug #76713 (Segmentation fault caused by property corruption). (Laruence) +- Tidy: + . Fixed arginfo for tidy::__construct(). (Tyson Andre) + - zlib: . Fixed bug #65988 (Zlib version check fails when an include/zlib/ style dir is passed to the --with-zlib configure option). (Jay Bonci) diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c index b531c9c..0fde23c 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy..c @@ -396,7 +396,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_tidy_get_body, 0, 0, 1) ZEND_ARG_INFO(0, tidy) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO(arginfo_tidy_construct, 0) +ZEND_BEGIN_ARG_INFO_EX(arginfo_tidy_construct, 0, 0, 0) ZEND_ARG_INFO(0, filename) ZEND_ARG_INFO(0, config_file) ZEND_ARG_INFO(0, encoding)

« previous php.cvs (#102873) next »