Skip to content

Conversation

erikn69
Copy link
Contributor

@erikn69 erikn69 commented May 14, 2025

Summary

Alternartive to #1695, #1696, Closes #1693

This PR fixes Intelephense issues by adding complete classes methods to the generated stubs.
It also works for other simpler IDEs, I tested it in NetBeans

Now could be

  • include_complete_stubs => true //(default: false), would force map all the methods of the aliases
  • include_complete_stubs => [Request::class, Arr::class] would force map only the listed aliases

Changes:

  • Added new config option include_complete_stubs(OPT-IN, false as default)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Misc. change (internal, infrastructure, maintenance, etc.)

Checklist

  • Existing tests have been adapted and/or new tests have been added
  • Update the README.md
  • Code style has been fixed via composer fix-style

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
1 participant