History log of /PHP-8.4/build/gen_stub.php (Results 151 – 175 of 205)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.4.22RC1, php-8.0.9RC1, php-8.1.0alpha3
# 80e5ad5a 04-Jul-2021 Máté Kocsis

Various ext/spl stub fixes

Closes GH-7215


Revision tags: php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2
# 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 ...


Revision tags: php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1, php-8.0.7, php-7.4.20, php-8.0.7RC1, php-7.4.20RC1
# 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


Revision tags: php-8.0.6, php-7.4.19, php-7.4.18, php-7.3.28, php-8.0.5, php-8.0.5RC1, php-7.4.18RC1, php-8.0.4RC1, php-7.4.17RC1, php-8.0.3, php-7.4.16, php-8.0.3RC1
# 803779e8 16-Feb-2021 Máté Kocsis

Add support for generating properties with union type of multiple classes

Closes GH-6701


Revision tags: php-7.4.16RC1
# 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 ...


Revision tags: php-8.0.2, php-7.4.15, php-7.3.27
# 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>


Revision tags: php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1
# 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 ...


Revision tags: php-8.0.1, php-7.4.14, php-7.3.26
# 446ad045 30-Dec-2020 Máté Kocsis

Fix refentry attribute replacing


Revision tags: php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1, php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24
# 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


Revision tags: php-8.0.0RC2
# d6264b09 13-Oct-2020 Máté Kocsis

Verify parameter names of function aliases

Closes GH-6335


Revision tags: php-7.4.12RC1, php-7.3.24RC1
# 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


123456789