History log of /PHP-8.1/build/gen_stub.php (Results 1 – 25 of 91)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 717335ec 06-Mar-2023 Derick Rethans

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


Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3
# 0fab520d 14-Feb-2022 Tyson Andre

Fix zend_register_internal_class_ex alias generation (#8091)

This wouldn't work for creating aliases in a namespace.

It would create the class alias "MyNS_ClassName" instead of

Fix zend_register_internal_class_ex alias generation (#8091)

This wouldn't work for creating aliases in a namespace.

It would create the class alias "MyNS_ClassName" instead of
"MyNS\\ClassName"

show more ...

# 62e4ac94 06-Jan-2022 Máté Kocsis

Add support for custom property links

Closes GH-7892

Revision tags: php-8.1.2RC1, php-8.1.0
# 04627199 22-Nov-2021 Máté Kocsis

Fix class synopsis generation

Closes GH-7891

# baac9708 17-Nov-2021 Máté Kocsis

Add the --generate-optimizer-info option to the help of gen_stub.php

Revision tags: php-7.3.33
# 68ca3879 15-Nov-2021 Nikita Popov

Fix generation of property with class union type

The generated type was missing the UNION bit. Add a ZEND_TYPE_INIT_UNION
macro to hide the implementation details.

# dd0ec7a5 03-Nov-2021 Nikita Popov

Update PHP-Parser version in gen_stub

This should address the octal issue encountered in #7610.

Revision tags: php-7.3.32, php-7.3.31
# 8168d312 08-Sep-2021 Máté Kocsis

Fix a few more classsynopsis generation issues

Closes GH-7480

# ea9f943d 12-Sep-2021 Máté Kocsis

Change gen-stub.php to gen_stub.php in help text

# 73063db5 10-Sep-2021 Máté Kocsis

Fix documentation generation when legacy arginfo is generated

When legacy arginfo is generated, all the type info gets lost. Since this task is performed before any other additional function

Fix documentation generation when legacy arginfo is generated

When legacy arginfo is generated, all the type info gets lost. Since this task is performed before any other additional functionalities of gen_stub.php (e.g. verification, method synopsis and class synopsis generation), these fail as they would require the missing type information.

The issue is fixed by deep cloning the file info objects (albeit only their affected properties), so that we use those for legacy arginfo generation, leaving the original ones untouched.

show more ...

# 4c9892d1 08-Sep-2021 Máté Kocsis

Fix class synopsis generation for interfaces

We have to generate <ooclass> elements for interfaces (rather than <oointerface>) in a number of places: directly inside the <classsynopsis> elem

Fix class synopsis generation for interfaces

We have to generate <ooclass> elements for interfaces (rather than <oointerface>) in a number of places: directly inside the <classsynopsis> element and in the extends list.

show more ...

# f5887642 08-Sep-2021 Máté Kocsis

Improve class synopsis root element generation

Besides classrefs, we also have exceptionrefs. Also, the 4th capture group replacement used to be unintentionally duplicated.

# 4483ecf5 02-Sep-2021 Máté Kocsis

Properly escape the default value of string properties and enum cases

# edf2947a 31-Aug-2021 Máté Kocsis

Remove unused variable from property generation code

# 39ede67e 31-Aug-2021 Máté Kocsis

Fix typo in method name in gen_stub.php

# 32d48212 31-Aug-2021 Nikita Popov

Support generating internal enum decl from stubs

# eaac77f4 31-Aug-2021 Go Kudo

Fix nested namespaced typed property in gen_stub.php (#7418)

Property escape namespaced class name in property types.

# 52d3af17 31-Aug-2021 Nikita Popov

Minor cleanup in gen_stubs

Unshare the stmt flag handling code, as this does not always
generalize (e.g. to enum cases, which have no visibility or flags
at all).

# c1c1822e 31-Aug-2021 Nikita Popov

Fix type hint in gen_stub.php

There is no ClassType class, only SimpleType.

[ci skip]

# a57b713d 30-Aug-2021 Máté Kocsis

Fix typo in gen_stub.php

# c19e4b99 30-Aug-2021 Máté Kocsis

Generate optimizer func info from stubs for ext/standard - part 3 (#7426)

# 8e6e9838 30-Aug-2021 Máté Kocsis

Add support for generating MAY_BE_ARRAY_OF_REF func info flag (#7416)

# fab12221 30-Aug-2021 Nikita Popov

Ensure stub files are processed in predictable order

The zend_func_infos.h file was generated in a different order for
me.

# 36e88a00 25-Aug-2021 Peter Cowburn

Use &Properties; entity in xpointer for inherited properties in class synopses (#7400)

This changes ClassInfo::createIncludeElement() such that it takes the $query
argument as-is for the

Use &Properties; entity in xpointer for inherited properties in class synopses (#7400)

This changes ClassInfo::createIncludeElement() such that it takes the $query
argument as-is for the xpointer attribute value. Special characters, like
" and &, are used as-is so be careful not to break the resulting XML.

show more ...

# 4a7a4147 24-Aug-2021 Máté Kocsis

Fix callable and iterable handling

1234