-
Notifications
You must be signed in to change notification settings - Fork 733
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
[PHP 8.4] Add new constants and tokens from the tokenizer #3936
Conversation
There was a problem hiding this 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.
appendices/tokens.xml
Outdated
<entry><constant>T_PROTECTED_SET</constant></entry> | ||
<entry>protected(set)</entry> | ||
<entry> | ||
property hooks(available as of PHP 8.4.0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing space.
property hooks(available as of PHP 8.4.0) | |
property hooks (available as of PHP 8.4.0) |
Done! |
There was a problem hiding this 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
<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> |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
Once the property hooks page is done, links should be added in tokens.xml