-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Promote a few remaining errors in ext/standard #6110
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
Conversation
afdf73b
to
f33f924
Compare
4def16d
to
11f882e
Compare
11f882e
to
1680d90
Compare
Looks like the openssl parameter renames snuck in here :) |
Thanks for noticing, I'm working on the renames indeed. Also, I'll fix the tests, I haven't updated them yet. |
730490c
to
08a6000
Compare
Subject: Test Subject | ||
|
||
A Message | ||
TypeError: Header "orig-date" must be of type string, array given |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're losing test coverage here, as previously multiple errors were checked with one call...
efree(posix_mode); | ||
RETURN_FALSE; | ||
RETURN_THROWS(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As this now throws ValueError, we should make it consistent between Linux & Windows. I.e. move this outside the ifndef, but also allow b
(I think we may require that first char is r/w and only allow b as second).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully I managed to find the condition you imagined ^^
08a6000
to
9a2b786
Compare
This reverts commit 24e9599.
20d941d
to
448f74d
Compare
I improved a few error messages in the meanwhile.
Also, I did a few related changes in ext/mbstring for the sake of consistency.