Skip to content

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

Open
DanielEScherzer wants to merge 2 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 2 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


public function __construct(Type $keyType, Type $valueType)
{
public function __construct(
Copy link
Member

@kocsismate kocsismate Mar 20, 2026

Choose a reason for hiding this comment

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

Hmm, what about moving these constructors to the first place so that properties still end up at the top of the class?

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.

3 participants