History log of /PHP-8.1/build/gen_stub.php (Results 26 – 50 of 91)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# d0897b36 24-Aug-2021 Máté Kocsis

Clean up function map production slightly

There's no need to iterate over $fileInfos again while generating the class map

# e35a7fe9 24-Aug-2021 Máté Kocsis

Fix function map production

# 2141bee6 24-Aug-2021 Máté Kocsis

Add more specific array type hints

# b1822899 24-Aug-2021 Máté Kocsis

Add support for generating optimizer function info from stubs (#7367)

Revision tags: php-7.3.30
# 076f2899 13-Aug-2021 Máté Kocsis

Add support for replacing class synopses based on stubs (#7340)

# ac17b364 22-Jul-2021 Máté Kocsis

Add support for generating classynopses from stubs

Closes GH-7310

# fc56de11 22-Jul-2021 Máté Kocsis

Add support for generating readonly properties via stubs (#7297)

# 23b1c4a9 22-Jul-2021 Máté Kocsis

Migrate to PHP-Parser 4.12.0 and regenerate some arginfos

# 814a9327 16-Jul-2021 Nikita Popov

Add ZEND_ACC_NOT_SERIALIZABLE flag

This prevents serialization and unserialization of a class and its
children in a way that does not depend on the zend_class_serialize_deny
and zend

Add ZEND_ACC_NOT_SERIALIZABLE flag

This prevents serialization and unserialization of a class and its
children in a way that does not depend on the zend_class_serialize_deny
and zend_class_unserialize_deny handlers that will be going away
in PHP 9 together with the Serializable interface.

In stubs, `@not-serializable` can be used to set this flag.

This patch only uses the new flag for a handful of Zend classes,
converting the remainder is left for later.

Closes GH-7249.
Fixes bug #81111.

show more ...

# 55357416 14-Jul-2021 Máté Kocsis

Add support for the never type in gen_stub.php

# 0192fd20 12-Jul-2021 Máté Kocsis

Merge branch 'PHP-8.0'


# 80e5ad5a 04-Jul-2021 Máté Kocsis

Various ext/spl stub fixes

Closes GH-7215

Revision tags: php-7.3.29
# 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

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

Revision tags: 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>

# 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.

1234