Bump phpdocumentor/reflection-docblock to v6#415
Merged
szepeviktor merged 2 commits intophp-stubs:masterfrom Jan 18, 2026
Merged
Bump phpdocumentor/reflection-docblock to v6#415szepeviktor merged 2 commits intophp-stubs:masterfrom
szepeviktor merged 2 commits intophp-stubs:masterfrom
Conversation
Member
|
What do you think about this? sed -i -e 's#@param binary string \$input#@param string $input#' source/wordpress/wp-includes/class-avif-info.php |
Contributor
Author
|
Right now the visitor silently skips invalid tags, so we may never notice. Should we add a GitHub Action that detects and fails on invalid tags? |
Member
No. We should fly blind. Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps
phpdocumentor/reflection-docblockfrom v5 to v6 (released ~2 weeks ago; see the v6.0.0 release notes).As of v6,
phpdocumentor/reflection-docblockcan handlenon-negative-int. Closes #406.With v6,
phpDocumentor\Reflection\DocBlock::getTagsByName('param')may returnphpDocumentor\Reflection\DocBlock\Tags\InvalidTagentries in addition tophpDocumentor\Reflection\DocBlock\Tags\Param. In v5, invalid@paramtags were handled via a fallback to legacy parsing.In our case, there is one
phpDocumentor\Reflection\DocBlock\Tags\InvalidTagforAvifinfo\read_big_endian()(@param binary string $input, which should be@param string $input). The visitor has been updated to skip invalid parameter tags.I used this to check for invalid tags:
This check has not been committed.