Skip to content

Commit 31088ee

Browse files
committed
Enable class entry generation for sapi extensions
1 parent 8ffc20a commit 31088ee

10 files changed

+15
-10
lines changed

sapi/apache2handler/php_functions.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
/** @generate-function-entries */
3+
/** @generate-class-entries */
44

55
function apache_lookup_uri(string $filename): object|false {}
66

sapi/apache2handler/php_functions_arginfo.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 2e2e63b5c845bb74309b2b3e52ca5a3d76f2c80b */
2+
* Stub hash: 130666f6f971fe7b43a450d922e4b3d092e78667 */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_apache_lookup_uri, 0, 1, MAY_BE_OBJECT|MAY_BE_FALSE)
55
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
@@ -62,3 +62,4 @@ static const zend_function_entry ext_functions[] = {
6262
ZEND_FE(apache_get_modules, arginfo_apache_get_modules)
6363
ZEND_FE_END
6464
};
65+

sapi/cgi/cgi_main.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
/** @generate-function-entries */
3+
/** @generate-class-entries */
44

55
function apache_child_terminate(): void {}
66

sapi/cgi/cgi_main_arginfo.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: ccb32ad91944af15fe1fcb44b97c28a79c1aad86 */
2+
* Stub hash: df963adc6bc610cdd31861036889141fa9464ded */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_apache_child_terminate, 0, 0, IS_VOID, 0)
55
ZEND_END_ARG_INFO()
@@ -24,3 +24,4 @@ static const zend_function_entry ext_functions[] = {
2424
ZEND_FE(apache_response_headers, arginfo_apache_response_headers)
2525
ZEND_FE_END
2626
};
27+

sapi/fpm/fpm/fpm_main.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
/** @generate-function-entries */
3+
/** @generate-class-entries */
44

55
function fastcgi_finish_request(): bool {}
66

sapi/fpm/fpm/fpm_main_arginfo.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 0888f3ba14649f0be06d47410221381bace54936 */
2+
* Stub hash: b4ac4c0f1d91c354293e21185a2e6d9f99cc9fcc */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_fastcgi_finish_request, 0, 0, _IS_BOOL, 0)
55
ZEND_END_ARG_INFO()
@@ -25,3 +25,4 @@ static const zend_function_entry ext_functions[] = {
2525
ZEND_FE(fpm_get_status, arginfo_fpm_get_status)
2626
ZEND_FE_END
2727
};
28+

sapi/litespeed/lsapi_main.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
/** @generate-function-entries */
3+
/** @generate-class-entries */
44

55
function litespeed_request_headers(): array {}
66

sapi/litespeed/lsapi_main_arginfo.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 6b6b8e58c728236218c31addc4d855e87d645178 */
2+
* Stub hash: 3419f4e77bd091e09e0cfc55d81f443d5a3396ff */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_litespeed_request_headers, 0, 0, IS_ARRAY, 0)
55
ZEND_END_ARG_INFO()
@@ -35,3 +35,4 @@ static const zend_function_entry ext_functions[] = {
3535
ZEND_FE(litespeed_finish_request, arginfo_litespeed_finish_request)
3636
ZEND_FE_END
3737
};
38+

sapi/phpdbg/phpdbg.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
/** @generate-function-entries */
3+
/** @generate-class-entries */
44

55
function phpdbg_break_next(): void {}
66

sapi/phpdbg/phpdbg_arginfo.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 3fd1a8c30695df2089655b1785905381734ac1c1 */
2+
* Stub hash: dc2e5420ea396c6235429c9606875ad2332811cb */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phpdbg_break_next, 0, 0, IS_VOID, 0)
55
ZEND_END_ARG_INFO()
@@ -71,3 +71,4 @@ static const zend_function_entry ext_functions[] = {
7171
ZEND_FE(phpdbg_get_executable, arginfo_phpdbg_get_executable)
7272
ZEND_FE_END
7373
};
74+

0 commit comments

Comments
 (0)