The road to version 9.0.0 #454
Replies: 4 comments 6 replies
-
I've noticed a few waiting for review, so was planning to attempt to do so, though they are mostly not straightforward changes.
I think lenient/strict mode is a misnomer. Lenient mode is what browsers do: silently drop invalid constructs and move on to the next (though info is made available in the browser developer tools). Strict mode effectively means throw an exception upon encountering invalid syntax: so it is more like a debugging aid (to help find why some elements are not being parsed). On that basis, I think the switch should be retained, but renamed 'debug' to make its intent clear. Other items all seem worthy at first glance. PS. Re renaming, I much prefer unit test data providers to be named (Can't seem to reply more than once, so have to edit.) |
Beta Was this translation helpful? Give feedback.
-
We already have the doxygen-generated diagram at https://myintervals.github.io/PHP-CSS-Parser/annotated.html, though it hasn’t been updated in a while. Should we keep generating some form of documentation?
I think we can just forget about parsing in multibyte charsets. For single-byte charsets, if we encounter a
Agreed, but provide a debug mode which returns a log of problems. ✅ on any other point |
Beta Was this translation helpful? Give feedback.
-
Thank you, @JakeQZ and @sabberworm, for your thoughts and insights! I really enjoy working together with you on this project! ❤️ |
Beta Was this translation helpful? Give feedback.
-
I have just converted the list above (plus updates) into a checklist and added it to the milestone. (You'll need to expand the description so see it as a checklist.) |
Beta Was this translation helpful? Give feedback.
-
Hi @JakeQZ @sabberworm,
I'd like to propose a battle plan to make version 9.0.0 as stable, reliable and maintainable as possible. What do you think?
These are the steps (in order) I'd like (us) to tackle:
Beta Was this translation helpful? Give feedback.
All reactions