Skip to content

Fix deprecation for tidyOptIsReadOnly #19503

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
wants to merge 1 commit into from

Conversation

arjendekorte
Copy link
Contributor

The tidyOptGetCategory function (added in libtidy 5.4.0) if only useable if TidyInternalCategory (added in libtidy 5.6.0) is also present, so check for the latter instead.

The tidyOptGetCategory function (added in libtidy 5.4.0) if only useable if TidyInternalCategory (added in libtidy 5.6.0) is also present, so check for the latter instead.
@devnexen
Copy link
Member

@bukka can we include it for 8.3.25 ?

@bukka
Copy link
Member

bukka commented Aug 16, 2025

If it's not a regression introduced after 8.3.24 then it should wait as it's a normal bug fix.

Copy link
Member

@devnexen devnexen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for 8.3.26 then :)

@devnexen devnexen linked an issue Aug 16, 2025 that may be closed by this pull request
@devnexen
Copy link
Member

Merged with a97717d

@devnexen devnexen closed this Aug 16, 2025
@petk
Copy link
Member

petk commented Aug 17, 2025

Currently, there is a typo in master branch. Otherwise, checking for the lvalue of TidyInternalCategory won't work with such check.

It would be better to do a compile check - #19500

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

Successfully merging this pull request may close these issues.

Compiling php 8.4.10 with --with-tidy flag failed
4 participants