Conversation
bd1eb74 to
1fed5db
Compare
Girgias
left a comment
There was a problem hiding this comment.
It seems the image functions returned E_WARNING + false in PHP 7 but those got converted to ValueErrors in PHP 8
@Girgias Do you have a suggestion how I should document this? |
I guess the usual way we do it, add an XML entity for the 8.0 changelog entry and maybe an XML entity for the paragraph to add to the new error/exceptions sections? |
|
@Girgias I am currently trying to address your review comment, but I noticed that the warnings + false return was related to the resource to object conversion, right? And afterwards Nikita corrected a bunch of misleading That said, I'm wondering if we have ever documented such changes? Usually only the parameter/return type change is documented in the changelog as far as I can remember. In case of ext/gd, the changelog already contains the following: "image expects a GdImage So I'm wondering if the changelog about the return type change as well as the error section is really a must-have? |
17f18ea to
cfc1d79
Compare
|
Oh false was only ever returned for ZPP failures? Yeah, then I don't think we need to document it as it's part of the old UB disclaimer. |
|
Yes, these function only ever returned |
No description provided.