mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
ext/tidy: zend_parse_parameters_none -> ZEND_PARSE_PARAMETERS_NONE macro (#18913)
This commit is contained in:
parent
4f1b005522
commit
01c3001eb7
1 changed files with 2 additions and 6 deletions
|
@ -67,9 +67,7 @@
|
||||||
|
|
||||||
#define TIDY_FETCH_ONLY_OBJECT \
|
#define TIDY_FETCH_ONLY_OBJECT \
|
||||||
PHPTidyObj *obj; \
|
PHPTidyObj *obj; \
|
||||||
if (zend_parse_parameters_none() != SUCCESS) { \
|
ZEND_PARSE_PARAMETERS_NONE(); \
|
||||||
RETURN_THROWS(); \
|
|
||||||
} \
|
|
||||||
obj = Z_TIDY_P(ZEND_THIS); \
|
obj = Z_TIDY_P(ZEND_THIS); \
|
||||||
|
|
||||||
#define TIDY_SET_DEFAULT_CONFIG(_doc) \
|
#define TIDY_SET_DEFAULT_CONFIG(_doc) \
|
||||||
|
@ -1140,9 +1138,7 @@ PHP_FUNCTION(tidy_diagnose)
|
||||||
/* {{{ Get release date (version) for Tidy library */
|
/* {{{ Get release date (version) for Tidy library */
|
||||||
PHP_FUNCTION(tidy_get_release)
|
PHP_FUNCTION(tidy_get_release)
|
||||||
{
|
{
|
||||||
if (zend_parse_parameters_none() != SUCCESS) {
|
ZEND_PARSE_PARAMETERS_NONE();
|
||||||
RETURN_THROWS();
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef HAVE_TIDYRELEASEDATE
|
#ifdef HAVE_TIDYRELEASEDATE
|
||||||
RETURN_STRING((const char *)tidyReleaseDate());
|
RETURN_STRING((const char *)tidyReleaseDate());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue