Skip to content

Test result-cache restore does not trigger reflection#5617

Merged
staabm merged 8 commits intophpstan:2.1.xfrom
staabm:e2es
May 9, 2026
Merged

Test result-cache restore does not trigger reflection#5617
staabm merged 8 commits intophpstan:2.1.xfrom
staabm:e2es

Conversation

@staabm
Copy link
Copy Markdown
Contributor

@staabm staabm commented May 9, 2026

this test is expected to fail until phpstan/phpstan-symfony#486 is merged.

after we proved this works like expected I would expand this test to include all 1st party phpstan extensions, so the test asserts, none of the 1st party extenions leads to reflection beeing triggered while result-cache restore.

e.g. we already know about the same problem in phpstan-doctrine

Co-Authored-By: Petr Morávek <petr@pada.cz>
@staabm staabm changed the title Test result-cache restore Test result-cache restore does not trigger reflection May 9, 2026
@staabm staabm requested a review from VincentLanglet May 9, 2026 06:53
@staabm
Copy link
Copy Markdown
Contributor Author

staabm commented May 9, 2026

ok cool.

the test fails before the phpstan-symfony fix and is green on the latest commit (fix)

@staabm staabm merged commit 22cae75 into phpstan:2.1.x May 9, 2026
385 checks passed
@staabm staabm deleted the e2es branch May 9, 2026 08:17
staabm added a commit that referenced this pull request May 9, 2026
Co-authored-by: Petr Morávek <petr@pada.cz>
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.

1 participant