Skip to content

gen_stub: make use of PHP 8.0 and PHP 8.1 features (2)#21479

Open
DanielEScherzer wants to merge 3 commits intophp:masterfrom
DanielEScherzer:stub-new-php-features-2
Open

gen_stub: make use of PHP 8.0 and PHP 8.1 features (2)#21479
DanielEScherzer wants to merge 3 commits intophp:masterfrom
DanielEScherzer:stub-new-php-features-2

Conversation

@DanielEScherzer
Copy link
Member

PHP 8.1 has been required for the build system since #20933

Each commit can be reviewed independently, and should have no functional changes

private array $attributes;
private ?ExposedDocComment $exposedDocComment;
private bool $isNotSerializable;
/** @var Name[] */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the move to CPP you lost the PHPDoc and thus the "generics".

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that information is still indicated in the parameter documentation in the constructor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants