Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PHP 8.4] Add new constants and tokens from the tokenizer #3936

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

driade
Copy link
Contributor

@driade driade commented Oct 27, 2024

Once the property hooks page is done, links should be added in tokens.xml

Copy link
Member

@jimwins jimwins left a comment

Choose a reason for hiding this comment

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

LGTM with one nit.

<entry><constant>T_PROTECTED_SET</constant></entry>
<entry>protected(set)</entry>
<entry>
property hooks(available as of PHP 8.4.0)
Copy link
Member

Choose a reason for hiding this comment

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

Missing space.

Suggested change
property hooks(available as of PHP 8.4.0)
property hooks (available as of PHP 8.4.0)

@driade
Copy link
Contributor Author

driade commented Oct 29, 2024

Done!

Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

@iluuu1994 this probably needs to be mentioned in UPGRADING

Comment on lines +302 to +315
<sect2 xml:id="migration84.constants.tokenizer">
<title>Tokenizer</title>
<simplelist>
<member>
<constant>T_PUBLIC_SET</constant>
</member>
<member>
<constant>T_PROTECTED_SET</constant>
</member>
<member>
<constant>T_PRIVATE_SET</constant>
</member>
</simplelist>
</sect2>
Copy link
Member

Choose a reason for hiding this comment

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

The list is alphabetical, please move it to the correct place.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. Reordered tokens.xml too.

@Girgias Girgias merged commit 8a6397d into php:master Oct 29, 2024
2 checks passed
@Girgias Girgias added this to the PHP 8.4 milestone Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants