Repository navigation
Fix template arguments of a parent named in another case, share @extends/@implements/@use scanning - #14397
Merged
Conversation
…lowercase name @extends stored its parameter count under the name as written in the docblock, while readers looked it up under the name of the extends clause, so a parent named in another case reported MissingTemplateParam. The type arguments of all three tags were also keyed by the written name, and lost when the docblock used another case than the class. A union in @implements or @use is now read member by member, as @extends already did, and the empty-tag messages name the right kind. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
✅ Performance: unchanged · Types: unchanged
How to read this table
composer.json changed in this PR, so head dependencies were re-resolved; memory and time deltas are informational. head aacd867 · base cc4ab02 (merge-base) · workflow run |
orklah
added a commit
to psalm/psalm-plugin-laravel
that referenced
this pull request
Nov 20, 2026
… name too (#2372) * fix: read and write template argument keys under the lowercase parent name too Psalm keys template_type_extends_count and template_extended_offsets by the lowercase parent name since vimeo/psalm#14397, by the name as written before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: mark explicitExtendsCount read-props Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…te argument keys Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Parent named in another case
@extendsloses its type arguments when theextendsclause or the tag names the parent in another case.Before
After
Before
After
The same holds for
@implements i<int>and@use tr<int>, whose type arguments were dropped.Union in
@implements/@useA union in
@implementsor@usealso reports every parent it names as missing its template params;@extendsalready read the union member by member.Before
After
Message of an empty
@implements/@useBefore
After