History log of /php-src/build/gen_stub.php (Results 126 – 150 of 210)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-8.1.0RC6
# 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.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4, php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3, php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2
# 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.

Revision tags: php-7.4.24RC1, php-8.0.11RC1
# 4483ecf5 02-Sep-2021 Máté Kocsis

Properly escape the default value of string properties and enum cases

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

Revision tags: php-7.4.23, php-8.0.10
# b1822899 24-Aug-2021 Máté Kocsis

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

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

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

Revision tags: php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2, php-8.0.9, php-7.4.22
# ac17b364 22-Jul-2021 Máté Kocsis

Add support for generating classynopses from stubs

Closes GH-7310

123456789