Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create script to create generic type annotations for EntityRepository #6175

Open
shopwareBot opened this issue Jan 10, 2025 · 1 comment
Open

Comments

@shopwareBot
Copy link

shopwareBot commented Jan 10, 2025

With [https://shopware.atlassian.net/browse/NEXT-22942|https://shopware.atlassian.net/browse/NEXT-22942] we introduced generic type templates to

{{\Shopware\Core\Framework\DataAbstractionLayer\EntityRepository}}

{{\Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository}}

{{\Shopware\Core\Framework\DataAbstractionLayer\Search\EntitySearchResult}}

which resulted in many PHPStan errors. we have completely ignored them. this should be fixed by a script, which adds the generic type annotation to all occurrences of those classes

@shopwareBot
Copy link
Author

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-29041

[created from NEXT-29041, comment 533484]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants