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

Make Zend_Validate_Date work as expected under PHP 8.0 #75

Merged
merged 1 commit into from
Mar 14, 2021

Conversation

glensc
Copy link
Contributor

@glensc glensc commented Mar 13, 2021

By additionally catching an error where only an exception used to be
caught and thus returning false on Zend_Validate_Date::isValid the
validator now behaves the same under PHP8+
This also means that we don't need to catch the error in the test method
anymore.

Extracted changes made by @Megatherium from #32

By additionally catching an error where only an exception used to be
caught and thus returning false on Zend_Validate_Date::isValid the
validator now behaves the same under PHP8+
This also means that we don't need to catch the error in the test method
anymore.
@glensc glensc marked this pull request as ready for review March 13, 2021 15:14
@falkenhawk falkenhawk merged commit 79f89fc into zf1s:master Mar 14, 2021
@falkenhawk falkenhawk linked an issue Mar 15, 2021 that may be closed by this pull request
@glensc glensc mentioned this pull request Mar 16, 2021
32 tasks
@glensc glensc mentioned this pull request Aug 7, 2021
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.

iconv_substr behaves differently under PHP8
2 participants