-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Uncaught TypeError with PHP 8.3 and id
attribute
#93
Comments
Hello, I'm also trying to update my app to PHP 8.3 and got the same problem:
https://github.com/Cecilapp/Cecil/actions/runs/7120600738/job/19388168813?pr=1676#step:14:659 |
@lee-peuker @ArnaudLigny The error is in the underlying package voku/simple_html_dom, not in this package. @voku There is already a fix PR for it: voku/simple_html_dom#106 |
While I agree that the SimpleHtmlDom needs the fix, shouldn't this one "watch" for such violations, too? Should it not detect if The |
Hope that the merge will be done soon 🙏 |
What is this feature about (expected vs actual behaviour)?
Running into an error after when minifying
<div id="test"></div>
after updating to PHP 8.3. I expected to get the minified html.How can I reproduce it?
Script to reproduce issue (using PHP 8.3.0):
Error:
Does it take minutes, hours or days to fix?
No idea
Any additional information?
in
AbstractSimpleHtmlDom.php:174
there already seems to be some catch in place, if this is extended with$nameOrig === 'id'
the error is fixed, but not sure if this is wanted.The text was updated successfully, but these errors were encountered: