Skip to content

Revert d7ba1e3#5220

Merged
ondrejmirtes merged 1 commit intophpstan:2.1.xfrom
staabm:revert1
Mar 14, 2026
Merged

Revert d7ba1e3#5220
ondrejmirtes merged 1 commit intophpstan:2.1.xfrom
staabm:revert1

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Mar 14, 2026

reverts #5047

closes phpstan/phpstan#14279

@staabm staabm marked this pull request as draft March 14, 2026 10:14
@staabm staabm closed this Mar 14, 2026
@staabm staabm reopened this Mar 14, 2026
@staabm
Copy link
Contributor Author

staabm commented Mar 14, 2026

I think we need to revert this for now, because the real fix for phpstan/phpstan#14281 will require to change types expected behaviour when instantiation of a generic class without a template

https://phpstan.org/r/63aaf2ad-5bdb-4929-a32b-11b2b6332460

as it currently leads to Shopware\Tests\Unit\Core\Framework\Struct\TestCollection<NEVER>

@staabm staabm marked this pull request as ready for review March 14, 2026 15:07
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes ondrejmirtes merged commit 0c57ea2 into phpstan:2.1.x Mar 14, 2026
1289 of 1299 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

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