Skip to content

Conversation

Amirhf1
Copy link

@Amirhf1 Amirhf1 commented Apr 8, 2025

This PR fixes the issue with Intelephense extension in VS Code by adding complete request class methods to the generated stubs.

Changes:

  • Added new config option include_complete_request_stubs (default: true)
  • Added complete list of Request class methods with proper return types
  • Modified Generator class to handle Request class specially

Fixes #1693

@erikn69
Copy link
Contributor

erikn69 commented May 14, 2025

I think it can be improved, making it more configurable, like a list of the classes that will be completely mapped, and making it automatic, so you don't have to manually define the methods.

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.

Conflicting with Intelephense

2 participants