History log of /PHP-8.2/build/gen_stub.php (Results 126 – 150 of 180)
Revision Date Author Comments
# 80e5ad5a 04-Jul-2021 Máté Kocsis

Various ext/spl stub fixes

Closes GH-7215


# e748dcac 20-Jun-2021 Tyson Andre

Allow build/gen_stub.php to process multiple CLI file args (#7179)

E.g. `build/gen_stub.php *.stub.php` will generate `*_arginfo.h`
from multiple files.

Previously, gen_stub.php

Allow build/gen_stub.php to process multiple CLI file args (#7179)

E.g. `build/gen_stub.php *.stub.php` will generate `*_arginfo.h`
from multiple files.

Previously, gen_stub.php would silently ignore files after the first file.

Invoking gen_stub.php with no arguments will continue to process the entire
directory.

show more ...


# 532c60cb 06-May-2021 Máté Kocsis

Add support for tentative return types of internal methods

RFC: https://wiki.php.net/rfc/internal_method_return_types

Closses GH-6971


# 803779e8 16-Feb-2021 Máté Kocsis

Add support for generating properties with union type of multiple classes

Closes GH-6701


# cad66533 09-Feb-2021 Máté Kocsis

Generate class entries from stubs for ldap, libxml, mbstring and mysqli

Closes GH-6684


# bf0f6aaf 15-Feb-2021 Máté Kocsis

Improve class entry generation

Related to GH-6701


# 99b08ac2 08-Feb-2021 Máté Kocsis

Implicitly enable function entry generation when class entry generation is enabled

Closes GH-6675


# 5e06dad4 06-Feb-2021 Tyson Andre

Properly render 2+ namespaces functions in build/gen_stub.php

Affects ZEND_NS_FE

Add test cases of the global function

Backported to php 8.0 from GH-6664


# b4c6d5f7 03-Feb-2021 Tyson Andre

Properly render 2+ namespaces functions in build/gen_stub.php

Affects both INIT_NS_CLASS_ENTRY and ZEND_NS_FE

Add test cases of the global function and namespaced values

Cl

Properly render 2+ namespaces functions in build/gen_stub.php

Affects both INIT_NS_CLASS_ENTRY and ZEND_NS_FE

Add test cases of the global function and namespaced values

Closes GH-6664

show more ...


# 1954e597 26-Jan-2021 Máté Kocsis

Add support for generating class entries from stubs

Closes GH-6289

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>


# a9efcb15 18-Jan-2021 Nikita Popov

gen_stub: Also verify implementation-alias

This makes --verify also check @implementation-alias. Failures are
ignored using @no-verify instead. Some mistakes have been made that
woul

gen_stub: Also verify implementation-alias

This makes --verify also check @implementation-alias. Failures are
ignored using @no-verify instead. Some mistakes have been made that
would have been caught by this...

Closes GH-6615.

show more ...


# f0d61519 18-Jan-2021 Nikita Popov

gen_stub: Don't use $aliasMap during verification

Some functions have multiple aliases, while the $aliasMap can
only record one.

Methodsynopsis generation probably shouldn't use

gen_stub: Don't use $aliasMap during verification

Some functions have multiple aliases, while the $aliasMap can
only record one.

Methodsynopsis generation probably shouldn't use it either, but
at least that case seems to only be interested in whether there
is an alias at all.

show more ...


# 496e4741 18-Jan-2021 Nikita Popov

gen_stub: Compare phpdoc return type in --verify


# 85bfa224 18-Jan-2021 Nikita Popov

gen_stub: Allow additional text after @return

In case the stub file also contains documentation.


# 43d5cef4 18-Jan-2021 Nikita Popov

gen_stub: Automatically add function name to exceptions

This makes sure that it's present even on exceptions from deeper
down the stack, where we can't add it manually.


# 973138f3 06-Jan-2021 Nikita Popov

Add support for union types for internal functions

This closes the last hole in the supported types for internal
function arginfo types. It's now possible to represent unions of
mult

Add support for union types for internal functions

This closes the last hole in the supported types for internal
function arginfo types. It's now possible to represent unions of
multiple classes. This is done by storing them as TypeA|TypeB and
PHP will then convert this into an appropriate union type list.

Closes GH-6581.

show more ...


# 446ad045 30-Dec-2020 Máté Kocsis

Fix refentry attribute replacing


# 9cec093b 22-Oct-2020 Máté Kocsis

Add support for generating methodsynopses from stubs

Closes GH-6367


# 1c868b18 26-Oct-2020 Nikita Popov

Fix parameter stats generation

[ci skip]


# 47bbfe1f 23-Oct-2020 Máté Kocsis

Require stubs to declare return types for magic methods when possible

Closes GH-6376


# d6264b09 13-Oct-2020 Máté Kocsis

Verify parameter names of function aliases

Closes GH-6335


# c96d884d 07-Oct-2020 Nikita Popov

Avoid namespaced class symbol clashes in gen_stub

Add the namespace prefix (using underscores) to both the arginfo
name and the method declaration name.


# 9c710b1d 07-Oct-2020 Nikita Popov

Support "static" type in gen_stub


# 47ef51cb 05-Oct-2020 Nikita Popov

Add @generate-legacy-arginfo tag


# dba67155 05-Oct-2020 Remi Collet

Improve gen_stub.php - drop --legacy option, generate file is exists - add --help option - add debug "Saved ..." message


12345678