Skip to content

Update function map with WP 7.0 updates - #465

Merged
szepeviktor merged 23 commits into
php-stubs:masterfrom
thelovekesh:fix/fqsen-in-phpdoc
Jun 28, 2026
Merged

Update function map with WP 7.0 updates#465
szepeviktor merged 23 commits into
php-stubs:masterfrom
thelovekesh:fix/fqsen-in-phpdoc

Conversation

@thelovekesh

@thelovekesh thelovekesh commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Fixes #464 -> fix is moved to php-stubs/generator#45
Fixes #462

@szepeviktor

Copy link
Copy Markdown
Member

Thank you!

Are you sure this should be implemented here not in the generator repo?

Comment thread tests/data/assert/wp-is-numeric-array.php
Comment thread functionMap.php
@thelovekesh

Copy link
Copy Markdown
Contributor Author

Are you sure this should be implemented here not in the generator repo?

It could live there since it's independent of WordPress, and I tried to align the resolver with the PSR-5 draft spec. The only reason I can think of for keeping it here first is to dogfood it before moving it over. That way, if we uncover any bugs, they'll be limited to a single package instead of affecting all the stubs.

@szepeviktor

Copy link
Copy Markdown
Member

All right!

Please implement it over there, or wait for me to boot up Codex CLI ...

@thelovekesh thelovekesh changed the title Update stub-generator to resolve PHPDoc types to FQSEN Update function map with WP 7.0 updates Jun 28, 2026
@thelovekesh

Copy link
Copy Markdown
Contributor Author

@szepeviktor I've cherry-picked the required changes to the generator PR (php-stubs/generator#45), so the scope of this PR is now limited.

The previous changes are still present in the branch history, so if you don't want to include them, please create a squashed commit.

@szepeviktor

Copy link
Copy Markdown
Member

Thank you.

@szepeviktor
szepeviktor merged commit c501d97 into php-stubs:master Jun 28, 2026
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.

Resolve PHPDoc types to FQSEN in generated stubs Strange wp_is_numeric_array change

2 participants