-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
Adding 'id' to DOMNodes with type string. #106
Conversation
Kudos, SonarCloud Quality Gate passed!
|
@voku would be great if we have a PHP8.3 compatibile version. |
@voku Any chance we could get a review on this and a release after? In the meantime for anyone running into this issue, the following in your composer.json ought to be a workaround: {
"repositories": [
{
"type": "vcs",
"url": "https://github.com/devteam-emroc/simple_html_dom"
}
],
"require_dev": {
"voku/simple_html_dom": "dev-php-83 as 4.8.8",
}
}
|
This fix involves adding a static class property:
Would it make more sense to use an array constant?
Just a thought. |
@voku Could you please merge this? |
@voku The error is unfortunately blocking the update to PHP 8.3. Would it be possible for you to merge this shortly? Thank you! |
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.
Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @devteam-emroc)
Fixing the PHP8.3 type error "Cannot assign null to property DOMElement::$id of type string"
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)