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

Ehancements to constructor call tokenizations #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BladeMF
Copy link

@BladeMF BladeMF commented Oct 30, 2023

Description of the Change

  • Allow named arguments in constructors
  • Add cases for 1) instantiation with no brackets 2) instantiation with a variable name instead of class name
  • Added test cases for new static/parent/self

Alternate Designs

  • no alternate designs

Possible Drawbacks

  • no possible drawbacks

Applicable Issues

#7

- Add cases for 1) instantiation with no brackets 2) instantiation with a variable name instead of class name
- Added test cases for new static/parent/self
@KapitanOczywisty
Copy link
Owner

Tests are passing, and looks like this is a good change, give me some time for testing edge cases. Thanks for PR!

@BladeMF
Copy link
Author

BladeMF commented Oct 31, 2023

Happy to have it reviewed. I've been using this modification for quite a while now (php 8.2) and haven't noticed any problems.
Thank you for porting testing to VS Code!

@BladeMF
Copy link
Author

BladeMF commented Jan 4, 2024

@KapitanOczywisty can we progress here?

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.

Request for syntax highlighting support for named arguments in PHP 8
2 participants