Skip to content

Fix return type on EntityRepository::matching() generics#743

Merged
VincentLanglet merged 9 commits intophpstan:2.0.xfrom
VincentLanglet:matching
May 5, 2026
Merged

Fix return type on EntityRepository::matching() generics#743
VincentLanglet merged 9 commits intophpstan:2.0.xfrom
VincentLanglet:matching

Conversation

@VincentLanglet
Copy link
Copy Markdown
Contributor

@VincentLanglet VincentLanglet commented May 4, 2026

cc @staabm Don't release after this merge, I'll plan to do more PR.

@VincentLanglet VincentLanglet changed the title Try Fix return type on EntityRepository::matching() generics May 4, 2026
@VincentLanglet VincentLanglet requested a review from staabm May 4, 2026 21:30
@VincentLanglet VincentLanglet marked this pull request as ready for review May 4, 2026 22:10
@@ -0,0 +1,45 @@
<?php

namespace RepositoryMatching;
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.

this namespaces overlapps with tests/DoctrineIntegration/data/repositoryMatching-collection26.php

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.

it seems we are missing a CI check for unique symbol names (like we have on phpstan-src)

@VincentLanglet VincentLanglet merged commit 983c304 into phpstan:2.0.x May 5, 2026
50 of 51 checks passed
@VincentLanglet VincentLanglet deleted the matching branch May 5, 2026 08:52
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.

3 participants