Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add non regression test for #222 #225

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

Merged
ondrejmirtes merged 5 commits into phpstan:2.0.x from VincentLanglet:regressionTest
Mar 23, 2025

Conversation

Copy link
Contributor

@VincentLanglet VincentLanglet commented Mar 23, 2025
edited
Loading

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
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /