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

[NETBEANS-5599] PHP 8.1 Support: First class callable syntax #4240

Merged
merged 5 commits into from Jun 20, 2022

Conversation

junichi11
Copy link
Member

Part 1

  • Fix the parser
  • Fix PHP81UnhandledError
  • Add unit tests

PHP 8.1

nb-php81-first-class-callable-syntax-parser

PHP 8.0

nb-php81-first-class-callable-syntax-parser-php80

Part 2

  • Fix the formatter
  • Add unit tests

Part 3

  • Fix the GotoDeclaration and MarkOccurences
  • Add unit tests

Part 4

  • Add the HintError to check incorrect first-class callable syntax
  • Add unit tests

nb-php81-first-class-callable-syntax-fatal-errors

Part 5

  • Fix the code completion
  • Don't add callable(...) cc items by default
  • Add unit tests

nb-php81-first-class-callable-syntax-cc-options

nb-php81-first-class-callable-syntax-cc

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

Probably, once this is merged, PHP 8.1 support is complete :)

@junichi11 junichi11 requested a review from tmysik June 19, 2022 14:02
@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!

@tmysik
Copy link
Member

tmysik commented Jun 19, 2022

@junichi11 Junichi, please, let me know what you think about my nitpick comments.

The change looks good to me, I am ready to merge. Thanks again for your great work!

@junichi11 junichi11 force-pushed the php81-first-class-callable-syntax branch from 7069e4d to 34af956 Compare June 19, 2022 15:49
@junichi11
Copy link
Member Author

@tmysik tmysik merged commit 7b5503c into apache:master Jun 20, 2022
@junichi11 junichi11 deleted the php81-first-class-callable-syntax branch June 20, 2022 10:48
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