-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conditionally add return type for WP_Http::request #264
Conversation
Hello guys! How to handle ever-growing number of PHPStan tags in core??? |
How about not adding a tag that already exists? |
We can. But then it is lost for each previous version as well. |
Why? I do not understand. Only not add our tag when one already exists in the current version. |
Ah, you mean not adding a tag if the visitor added a tag automatically? We can avoid it that way, but at the cost of losing the ability to override incorrect tags that were added automatically. |
That is better! So if there is already a |
The opposite of this PR. |
Not sure what you mean by
There is no As far as I can tell, in the case of |
I see!! "Autogenerated" means we read Okay. Then drop the one from |
but no |
That's what I did. We can implement the same behavior via the visitor, but I won't have time for this this week. |
Removes duplicate return tag for
WP_Http::request()