Skip to content

Support versioned extension stub maps#1887

Draft
simPod wants to merge 1 commit into
JetBrains:masterfrom
simPod:support-versioned-extension-stub-map
Draft

Support versioned extension stub maps#1887
simPod wants to merge 1 commit into
JetBrains:masterfrom
simPod:support-versioned-extension-stub-map

Conversation

@simPod
Copy link
Copy Markdown
Contributor

@simPod simPod commented May 3, 2026

Summary

  • Generate a version-aware PhpStormStubsMap::EXTENSION_VERSIONS map for extension directories with suffixes like ds_v2 and couchbase_v2.
  • Keep the existing flat CLASSES, FUNCTIONS, and CONSTANTS maps backward-compatible by continuing to point them at default extension stubs.
  • Regenerate PhpStormStubsMap.php so consumers can select versioned extension symbols, such as Ds\\Seq from ds_v2, without losing the existing default ds map.

@simPod simPod force-pushed the support-versioned-extension-stub-map branch from ceee94b to dbb2d83 Compare May 3, 2026 07:57
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.

1 participant