Skip to content

Fix invalid callmaps#11707

Draft
kkmuffme wants to merge 16 commits intovimeo:6.xfrom
kkmuffme:fix-invalid-callmaps
Draft

Fix invalid callmaps#11707
kkmuffme wants to merge 16 commits intovimeo:6.xfrom
kkmuffme:fix-invalid-callmaps

Conversation

@kkmuffme
Copy link
Contributor

@kkmuffme kkmuffme commented Mar 3, 2026

This PR also fixes the callmap/stubs generation, since it wasn't working at all on Windows, for PHP 8.5 on any platform, for any version on any platform, since it had a fatal due to wrong path.
Also makes it easier to use by automatically installing composer/vendor (e.g. to allow updating/rerunning callmap generating in CI)

kkmuffme added 16 commits March 3, 2026 22:45
Same issue as fixed in TypeParser in vimeo#11704
Fix vimeo#11705
Remove unnecessary check for own functions
Fix path handling on Windows

Quiet download progress
Create separate temp files for each version to prevent race conditions
* Speed up building of docker by always running 2 versions at the same time, instead of in batches of 2
* Remove hardcoded PHP versions for docker and stubs scripts and dynamically load the supported PHP versions from available dockerfiles
* Add option to build docker images locally without pushing to Github container registry
* Add option to rebuild only specified docker image, only missing docker images or all docker images
* avoid downloading the same container for autogen callmap and final callmap
* use local container if remote does not exist and build container locally if not available locally yet for a version
* install composer if vendor does not exist to allow quick, standalone recreation of stubs in CI or other machine
* fix callmap could not be generated due to wrong working directory
@kkmuffme kkmuffme force-pushed the fix-invalid-callmaps branch from 2a88b28 to eb9e813 Compare March 4, 2026 04:04
@kkmuffme kkmuffme marked this pull request as ready for review March 4, 2026 04:04
@kkmuffme kkmuffme marked this pull request as draft March 5, 2026 22:02
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.

DateTimeInterface::getMicrosecond() is missing in callmap Callmaps contain functions that do not exist at that version

1 participant