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

Skip not deprecated methods #267

Merged
merged 1 commit into from Jul 4, 2020

Conversation

malarzm
Copy link
Contributor

@malarzm malarzm commented Jul 4, 2020

While roaming around the codebase I have found these two places that seem to not work correctly. Looks like no test was asserting the result so the question is whether shall I write one?

@ondrejmirtes
Copy link
Member

Yes, you’re right, thanks, but we should really cover this with a test too 😊 Thanks.

BTW I want to give you some guidance how to implement the friend method stuff, in my mind there aren’t even needed any changes for the phpdoc-parser 😊 Please wait a few moments, I’ll find some time tonight.

@malarzm
Copy link
Contributor Author

malarzm commented Jul 4, 2020

we should really cover this with a test too

Here you go!

BTW I want to give you some guidance how to implement the friend method stuff

Thank you very much! I'll gladly compare your way with guesses I made today :D

@ondrejmirtes ondrejmirtes merged commit 0c282c9 into phpstan:master Jul 4, 2020
@ondrejmirtes
Copy link
Member

Thank you, perfect! I'll describe it in phpstan/phpstan#3565.

@malarzm malarzm deleted the collecting-deprecations branch July 4, 2020 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants