-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Fix GH-8038: DOM extension reflection version is incorrect #17702
base: master
Are you sure you want to change the base?
Conversation
It doesn't appear to be reasonable to pretend that nothing in the DOM API would have changed in the last 21 years, and it's also not that reasonable to pretend that we would thoroughly bump that version in the future. Thus we go with the common convention to use the `PHP_VERSION` for bundled extensions.
I considered this at one point, but I don't know how this will interact with composer.json requirements. If you look for 20031129 in GitHub you can see hits of the form |
Oh, I have not thought about this. However, if you can't untangle the knot, use brute force. |
This specific variant pins to an exact version. To require “any higher version” you would need
(note the 28 instead of 29 at the end):
|
The question is also whether these have been results of composer.json or composer.lock. |
The results I saw were from composer.json: https://github.com/search?q=20031129+language%3AjSON&type=code |
It's okay for me to leave it as is, but then we should close the ticket as WONTFIX. |
It doesn't appear to be reasonable to pretend that nothing in the DOM API would have changed in the last 21 years, and it's also not that reasonable to pretend that we would thoroughly bump that version in the future. Thus we go with the common convention to use the
PHP_VERSION
for bundled extensions.It might also make sense to rename to
PHP_DOM_VERSION
or something.