Skip to content

In ext/date/php_date.stub.php , DateRangeError extends itself #11964

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

Closed
come-nc opened this issue Aug 14, 2023 · 2 comments · Fixed by #11965
Closed

In ext/date/php_date.stub.php , DateRangeError extends itself #11964

come-nc opened this issue Aug 14, 2023 · 2 comments · Fixed by #11965

Comments

@come-nc
Copy link

come-nc commented Aug 14, 2023

Description

I suspect that this is not on purpose.
Found it by chance while reading the commit referenced by the RFC.

PHP Version

8.3

Operating System

No response

@come-nc
Copy link
Author

come-nc commented Aug 14, 2023

@nielsdos
Copy link
Member

According to the RFC It's supposed to extend DateError instead. I'll submit a PR soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants