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.2 Support: Readonly classes #4955

Merged
merged 2 commits into from
Nov 10, 2022

Conversation

junichi11
Copy link
Member

#4725

Part 1

  • Fix the grammar file
  • Add PHP82UnhandledError
  • Add/Fix unit tests for the parser, the lexter, and the index

Part 2

  • Fix hints for readonly classes
  • Add the code template for a readonly class
  • Add unit tests for hints, formatter, and CC

nb-php82-readonly-classes-syntax-and-hints

nb-php82-readonly-classes-syntax-and-hints2

@junichi11 junichi11 added the PHP [ci] enable extra PHP tests (php/php.editor) label Nov 10, 2022
@junichi11 junichi11 added this to the NB17 milestone Nov 10, 2022
@junichi11
Copy link
Member Author

@tmysik Could you please have a look at this when you have time? If there is no problem, let's merge it :) Thanks!

@junichi11
Copy link
Member Author

@tmysik Will increment the spec version.

- apache#4725
- https://wiki.php.net/rfc/readonly_classes
- Fix the grammar file
- Add `PHP82UnhandledError`
- Add/Fix unit tests for the parser, the lexter, and the index
- apache#4725
- https://wiki.php.net/rfc/readonly_classes
- Fix hints for readonly classes
- Add the code template for a readonly class
- Add unit tests for hints, formatter, and CC
@tmysik tmysik merged commit 2208100 into apache:php82-support Nov 10, 2022
@junichi11
Copy link
Member Author

@tmysik Thank you for your review! I'll fix it with the next PR.

@junichi11 junichi11 deleted the php82-readonly-classes branch November 10, 2022 23:20
@junichi11 junichi11 mentioned this pull request Nov 11, 2022
6 tasks
@tmysik
Copy link
Member

tmysik commented Nov 11, 2022

@junichi11 Nothing to thank for, really. Plenty of tests really help us here. Thanks for your great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PHP [ci] enable extra PHP tests (php/php.editor)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants