Skip to content

Autotools: Sync CS in ext/tidy #15561

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

Merged
merged 2 commits into from
Aug 24, 2024
Merged

Autotools: Sync CS in ext/tidy #15561

merged 2 commits into from
Aug 24, 2024

Conversation

petk
Copy link
Member

@petk petk commented Aug 23, 2024

  • AS_* macros used
  • When TIDY_DIR is not set error out in its own "if" sentence
  • break 2 used instead of break to exit also the first for loop

- AS_* macros used
- When TIDY_DIR is not set error out in its own "if" sentence
- break 2 used instead of break to exit also the first for loop
@nielsdos
Copy link
Member

Build failure looks legit

@petk
Copy link
Member Author

petk commented Aug 23, 2024

Typo fixed in the appended commit.

@petk
Copy link
Member Author

petk commented Aug 23, 2024

Yes, this is also a good indicator that migrating to pkg-config and tidy-html5 needs to be probably done in the next PHP version. Here I'll still check in the next days or so if pkg-config can be perhaps optionally added with this tidyp and legacy tidy libraries used like before.

Edit: Or actually if these legacy libraries even work at all.

@nielsdos
Copy link
Member

Edit: Or actually if these legacy libraries even work at all.

Good question, CI only tests tidy-html5 AFAIK.

@petk
Copy link
Member Author

petk commented Aug 24, 2024

Merge coming up here. Everything looks fine.

@petk petk merged commit 207ae12 into php:master Aug 24, 2024
10 checks passed
@petk petk deleted the patch-m4-cs-tidy branch August 24, 2024 21:17
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.

2 participants