Skip to content

Autoloading should not be invoked for any string#5519

Merged
staabm merged 3 commits intophpstan:2.1.xfrom
staabm:bug14514
Apr 23, 2026
Merged

Autoloading should not be invoked for any string#5519
staabm merged 3 commits intophpstan:2.1.xfrom
staabm:bug14514

Conversation

@staabm
Copy link
Copy Markdown
Contributor

@staabm staabm commented Apr 23, 2026

closes phpstan/phpstan#14514
closes phpstan/phpstan#14511


I verified the fix on the origin reproducer

@staabm staabm requested a review from VincentLanglet April 23, 2026 12:43
@staabm staabm marked this pull request as ready for review April 23, 2026 12:43
@phpstan-bot
Copy link
Copy Markdown
Collaborator

This pull request has been marked as ready for review.

@VincentLanglet
Copy link
Copy Markdown
Contributor

This will also solve phpstan/phpstan#14511
Since it was the original fix of #5511

Can you add a non regression test ?

@staabm
Copy link
Copy Markdown
Contributor Author

staabm commented Apr 23, 2026

nice catch. copied over the tests

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