History log of /PHP-8.2/build/gen_stub.php (Results 101 – 125 of 180)
Revision Date Author Comments
# 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


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


# 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


12345678