Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Rely on same template name than doctrine#744

Merged
VincentLanglet merged 1 commit into
phpstan:2.0.xphpstan/phpstan-doctrine:2.0.xfrom
VincentLanglet:sameTemplateVincentLanglet/phpstan-doctrine:sameTemplateCopy head branch name to clipboard
May 5, 2026
Merged

Rely on same template name than doctrine#744
VincentLanglet merged 1 commit into
phpstan:2.0.xphpstan/phpstan-doctrine:2.0.xfrom
VincentLanglet:sameTemplateVincentLanglet/phpstan-doctrine:sameTemplateCopy head branch name to clipboard

Conversation

@VincentLanglet
VincentLanglet marked this pull request as ready for review May 5, 2026 18:34
@VincentLanglet
VincentLanglet requested a review from staabm May 5, 2026 18:34
/**
* @template TEntityClass of object
* @implements ObjectRepository<TEntityClass>
* @template T of object

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to define a min-doctrine version (composer.json) in which this change is contained in ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why ? Doctrine never used TEntityClass as template name ; they directly used T

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see 👍

@VincentLanglet
VincentLanglet merged commit fb8f874 into phpstan:2.0.x May 5, 2026
50 of 51 checks passed
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.