Skip to content

Skip not deprecated methods#267

Merged
ondrejmirtes merged 1 commit intophpstan:masterfrom
malarzm:collecting-deprecations
Jul 4, 2020
Merged

Skip not deprecated methods#267
ondrejmirtes merged 1 commit intophpstan:masterfrom
malarzm:collecting-deprecations

Conversation

@malarzm
Copy link
Copy Markdown
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
Copy Markdown
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 malarzm force-pushed the collecting-deprecations branch from e1b3ac2 to 4a56ca5 Compare July 4, 2020 21:14
@malarzm malarzm force-pushed the collecting-deprecations branch from 4a56ca5 to 4cf932c Compare July 4, 2020 21:21
@malarzm
Copy link
Copy Markdown
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
Copy Markdown
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

Development

Successfully merging this pull request may close these issues.

2 participants