diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2021-02-14 12:03:48 +0100 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2021-02-14 12:03:48 +0100 |
commit | 31088eef456679b0ead6fe955dded0e9a38928da (patch) | |
tree | 3cd3e0e6a08dddb6b4d5ecf92c3132b527739104 | |
parent | 8ffc20ace6c8a59b30aea53e2100aa26e4f1f3ee (diff) | |
download | php-git-31088eef456679b0ead6fe955dded0e9a38928da.tar.gz |
Enable class entry generation for sapi extensions
-rw-r--r-- | sapi/apache2handler/php_functions.stub.php | 2 | ||||
-rw-r--r-- | sapi/apache2handler/php_functions_arginfo.h | 3 | ||||
-rw-r--r-- | sapi/cgi/cgi_main.stub.php | 2 | ||||
-rw-r--r-- | sapi/cgi/cgi_main_arginfo.h | 3 | ||||
-rw-r--r-- | sapi/fpm/fpm/fpm_main.stub.php | 2 | ||||
-rw-r--r-- | sapi/fpm/fpm/fpm_main_arginfo.h | 3 | ||||
-rw-r--r-- | sapi/litespeed/lsapi_main.stub.php | 2 | ||||
-rw-r--r-- | sapi/litespeed/lsapi_main_arginfo.h | 3 | ||||
-rw-r--r-- | sapi/phpdbg/phpdbg.stub.php | 2 | ||||
-rw-r--r-- | sapi/phpdbg/phpdbg_arginfo.h | 3 |
10 files changed, 15 insertions, 10 deletions
diff --git a/sapi/apache2handler/php_functions.stub.php b/sapi/apache2handler/php_functions.stub.php index 93955c7181..99a401dbab 100644 --- a/sapi/apache2handler/php_functions.stub.php +++ b/sapi/apache2handler/php_functions.stub.php @@ -1,6 +1,6 @@ <?php -/** @generate-function-entries */ +/** @generate-class-entries */ function apache_lookup_uri(string $filename): object|false {} diff --git a/sapi/apache2handler/php_functions_arginfo.h b/sapi/apache2handler/php_functions_arginfo.h index a712ce590c..120171aa08 100644 --- a/sapi/apache2handler/php_functions_arginfo.h +++ b/sapi/apache2handler/php_functions_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 2e2e63b5c845bb74309b2b3e52ca5a3d76f2c80b */ + * Stub hash: 130666f6f971fe7b43a450d922e4b3d092e78667 */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_apache_lookup_uri, 0, 1, MAY_BE_OBJECT|MAY_BE_FALSE) ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0) @@ -62,3 +62,4 @@ static const zend_function_entry ext_functions[] = { ZEND_FE(apache_get_modules, arginfo_apache_get_modules) ZEND_FE_END }; + diff --git a/sapi/cgi/cgi_main.stub.php b/sapi/cgi/cgi_main.stub.php index 8273cffdc2..8540af93f9 100644 --- a/sapi/cgi/cgi_main.stub.php +++ b/sapi/cgi/cgi_main.stub.php @@ -1,6 +1,6 @@ <?php -/** @generate-function-entries */ +/** @generate-class-entries */ function apache_child_terminate(): void {} diff --git a/sapi/cgi/cgi_main_arginfo.h b/sapi/cgi/cgi_main_arginfo.h index 2eaab875c4..ff61f46ec8 100644 --- a/sapi/cgi/cgi_main_arginfo.h +++ b/sapi/cgi/cgi_main_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: ccb32ad91944af15fe1fcb44b97c28a79c1aad86 */ + * Stub hash: df963adc6bc610cdd31861036889141fa9464ded */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_apache_child_terminate, 0, 0, IS_VOID, 0) ZEND_END_ARG_INFO() @@ -24,3 +24,4 @@ static const zend_function_entry ext_functions[] = { ZEND_FE(apache_response_headers, arginfo_apache_response_headers) ZEND_FE_END }; + diff --git a/sapi/fpm/fpm/fpm_main.stub.php b/sapi/fpm/fpm/fpm_main.stub.php index 5d1883c6dd..70cd275223 100644 --- a/sapi/fpm/fpm/fpm_main.stub.php +++ b/sapi/fpm/fpm/fpm_main.stub.php @@ -1,6 +1,6 @@ <?php -/** @generate-function-entries */ +/** @generate-class-entries */ function fastcgi_finish_request(): bool {} diff --git a/sapi/fpm/fpm/fpm_main_arginfo.h b/sapi/fpm/fpm/fpm_main_arginfo.h index 709ee60df2..7f52c3b071 100644 --- a/sapi/fpm/fpm/fpm_main_arginfo.h +++ b/sapi/fpm/fpm/fpm_main_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 0888f3ba14649f0be06d47410221381bace54936 */ + * Stub hash: b4ac4c0f1d91c354293e21185a2e6d9f99cc9fcc */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_fastcgi_finish_request, 0, 0, _IS_BOOL, 0) ZEND_END_ARG_INFO() @@ -25,3 +25,4 @@ static const zend_function_entry ext_functions[] = { ZEND_FE(fpm_get_status, arginfo_fpm_get_status) ZEND_FE_END }; + diff --git a/sapi/litespeed/lsapi_main.stub.php b/sapi/litespeed/lsapi_main.stub.php index 396cb86385..46f0cdf967 100644 --- a/sapi/litespeed/lsapi_main.stub.php +++ b/sapi/litespeed/lsapi_main.stub.php @@ -1,6 +1,6 @@ <?php -/** @generate-function-entries */ +/** @generate-class-entries */ function litespeed_request_headers(): array {} diff --git a/sapi/litespeed/lsapi_main_arginfo.h b/sapi/litespeed/lsapi_main_arginfo.h index 2b7e862435..534f8adcc6 100644 --- a/sapi/litespeed/lsapi_main_arginfo.h +++ b/sapi/litespeed/lsapi_main_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 6b6b8e58c728236218c31addc4d855e87d645178 */ + * Stub hash: 3419f4e77bd091e09e0cfc55d81f443d5a3396ff */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_litespeed_request_headers, 0, 0, IS_ARRAY, 0) ZEND_END_ARG_INFO() @@ -35,3 +35,4 @@ static const zend_function_entry ext_functions[] = { ZEND_FE(litespeed_finish_request, arginfo_litespeed_finish_request) ZEND_FE_END }; + diff --git a/sapi/phpdbg/phpdbg.stub.php b/sapi/phpdbg/phpdbg.stub.php index 4d733ccaf6..40a51d892a 100644 --- a/sapi/phpdbg/phpdbg.stub.php +++ b/sapi/phpdbg/phpdbg.stub.php @@ -1,6 +1,6 @@ <?php -/** @generate-function-entries */ +/** @generate-class-entries */ function phpdbg_break_next(): void {} diff --git a/sapi/phpdbg/phpdbg_arginfo.h b/sapi/phpdbg/phpdbg_arginfo.h index a4ee52d814..9e62738e11 100644 --- a/sapi/phpdbg/phpdbg_arginfo.h +++ b/sapi/phpdbg/phpdbg_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 3fd1a8c30695df2089655b1785905381734ac1c1 */ + * Stub hash: dc2e5420ea396c6235429c9606875ad2332811cb */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phpdbg_break_next, 0, 0, IS_VOID, 0) ZEND_END_ARG_INFO() @@ -71,3 +71,4 @@ static const zend_function_entry ext_functions[] = { ZEND_FE(phpdbg_get_executable, arginfo_phpdbg_get_executable) ZEND_FE_END }; + |