History log of /PHP-8.3/build/gen_stub.php (Results 1 – 25 of 170)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 583ac15c 27-May-2024 Valentin Udaltsov

Fix gen_stub.php errors (#14335)


# 10e8a0d1 08-Jan-2024 Máté Kocsis

Backport upgrading PHP-Parser to PHP-8.3


# d4e40dc0 31-Oct-2023 Máté Kocsis

Fix GH-12558 Escape \N in generated stubs (#12562)


# c5fb8b6a 01-Sep-2023 Máté Kocsis

Align class name detection to the new class synopsis format


# 597aeb12 30-Aug-2023 Máté Kocsis

Fix the class synopsis of Throwable

"ooexception" is rendered as a class, therefore interfaces should be marked up as "oointerface".


# 13d3564a 28-Aug-2023 Remi Collet

Fix #12063 convert PHP single-quote to C double-quote string


# c934e241 26-Dec-2022 Máté Kocsis

Fix GH-9967 Add support for generating custom function, class const, and property attributes in stubs


# e6627ccb 20-Aug-2023 Ayesh Karunaratne

gen_stub: fix regexps with unintentional range due to `-` character placement (#12004)


# 566cf37e 28-Jul-2023 Máté Kocsis

Use new class synopsis generating markup (#11809)


# 7b355e8d 04-Jul-2023 Ilija Tovilo

Revert "Merge branch 'PHP-8.2'"

This reverts commit 45a3f178dc226b69f5d72f10285bc2ad139b2c1c, reversing
changes made to b2a54bc6af4bf645b5bb2601621c12b31bfbff0c.


# ef4f0883 04-Jul-2023 Ilija Tovilo

Revert "Fix GH-9967 Add support for generating custom function, class const, and property attributes in stubs"

This reverts commit d7ab0ff0c81bf672c3d4ac73e1b2cbd158296eef.


# 4db4f0ba 03-Jul-2023 Máté Kocsis

Display the readonly modifier for readonly classes


# 3c6590a3 03-Jul-2023 Máté Kocsis

Add support for extending multiple interfaces in the manual

After https://github.com/php/phd/pull/75/


# d7ab0ff0 03-Jul-2023 Máté Kocsis

Fix GH-9967 Add support for generating custom function, class const, and property attributes in stubs


# 3906bccc 27-Jun-2023 Máté Kocsis

Add support for typed class constants in stubs


# 6dd62fb3 25-Jun-2023 Máté Kocsis

Upgrade to PHP-Parser 5.0

Since it supports typed class constants. Using the alpha 3 version for now.


# 281669ae 07-May-2023 Máté Kocsis

Add support for true standalone type when generating methodsynopsis


# 717335ec 06-Mar-2023 Derick Rethans

Fixed macro generation for variadics, which don't have a default value


# 368febbf 07-Mar-2023 Máté Kocsis

Remove unnecessary workaround for the true type


# 145602f3 28-Feb-2023 Bob Weinand

Fix bug in zend_test assuming null not being the first type

(I agree that null should come last, but then it should rather throw with a proper message than emit an undefined key warning.)

Fix bug in zend_test assuming null not being the first type

(I agree that null should come last, but then it should rather throw with a proper message than emit an undefined key warning.)

Signed-off-by: Bob Weinand <bobwei9@hotmail.com>

show more ...


# 81abd8dc 27-Feb-2023 Bob Weinand

Allow gen_stub.php to parse and ignore extended docblock types

Extended docblock types, according to psalm or phpstan conventions may include array shapes, callable signatures etc.. These ar

Allow gen_stub.php to parse and ignore extended docblock types

Extended docblock types, according to psalm or phpstan conventions may include array shapes, callable signatures etc.. These are now ignored by ignoring any nested parenthesized expression (followed by optional :type) at the end of the type.

show more ...


# 7fccdf72 10-Feb-2023 SATO Kentaro

Add support for generating namespaced constant

Closes GH-10552


# cf1d21ed 20-Jan-2023 Bob Weinand

Add a couple clarifying comments


# 1fbe8559 19-Jan-2023 Bob Weinand

Honor constant expressions instead of just taking the last constant encountered in stubs

As an example:
should be translated to:
ZVAL_LONG(&attribute_Attribute_class_test_arg0, ZEND_

Honor constant expressions instead of just taking the last constant encountered in stubs

As an example:
should be translated to:
ZVAL_LONG(&attribute_Attribute_class_test_arg0, ZEND_ATTRIBUTE_TARGET_FUNCTION | ZEND_ATTRIBUTE_TARGET_METHOD);

show more ...


# 7b08fe9f 28-Dec-2022 Máté Kocsis

Do not list private constructors as inherited


1234567