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

TestHandler misleadings #1794

Merged
merged 2 commits into from
Mar 10, 2023
Merged

TestHandler misleadings #1794

merged 2 commits into from
Mar 10, 2023

Conversation

dmitryuk
Copy link
Contributor

@dmitryuk dmitryuk commented Mar 1, 2023

I started to use TestHandler and see that virtual methods has[Level]ThatMatches.
It has an argument $message that has wrong meaning (not regex) and doesn't match target method hasRecordThatMatches($regex) argument.
Also I fixed methods has[Level]ThatPasses, has[Level] and added type-hinting to all virtual methods
The PR fixes it.
UPD: Should I fix phpstan files I never touched?

@Seldaek Seldaek added this to the 3.x milestone Mar 10, 2023
@Seldaek Seldaek merged commit b05bf55 into Seldaek:main Mar 10, 2023
@Seldaek
Copy link
Owner

Seldaek commented Mar 10, 2023

Thanks

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