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

Add non regression test for #222 #225

Merged
merged 5 commits into from
Mar 23, 2025

Conversation

VincentLanglet
Copy link
Contributor

@VincentLanglet VincentLanglet commented Mar 23, 2025

With PHPUnit 12.0.9+, it gives

1) PHPStan\Rules\CallMethodsRuleTest::testBug222
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'
+'13: Call to method method() on an unknown class PHPUnit\Framework\MockObject\Builder\InvocationMocker.
+    💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
+24: Call to method method() on an unknown class PHPUnit\Framework\MockObject\Builder\InvocationMocker.
+    💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
 '

@VincentLanglet VincentLanglet marked this pull request as ready for review March 23, 2025 17:55
@ondrejmirtes ondrejmirtes merged commit 1a07095 into phpstan:2.0.x Mar 23, 2025
59 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.

2 participants