Skip to content

[DeepClone] Test deepclone of tidyNode (final internal class without serialization API)#563

Closed
GromNaN wants to merge 2 commits into
symfony:deepclonefrom
GromNaN:deepclone-tidy-test
Closed

[DeepClone] Test deepclone of tidyNode (final internal class without serialization API)#563
GromNaN wants to merge 2 commits into
symfony:deepclonefrom
GromNaN:deepclone-tidy-test

Conversation

@GromNaN
Copy link
Copy Markdown
Member

@GromNaN GromNaN commented Apr 10, 2026

tidyNode is a final internal PHP class (bundled tidy extension) with a C-level constructor but no __serialize/__unserialize/__sleep/__wakeup. It was incorrectly rejected by the polyfill as not instantiable.

This PR adds a test covering this class as the PHP-only counterpart of the PHPT test added in symfony/php-ext-deepclone#5.

@GromNaN GromNaN force-pushed the deepclone-tidy-test branch from b3362ec to c7b2ba6 Compare April 10, 2026 12:38
@nicolas-grekas
Copy link
Copy Markdown
Member

Thanks, merged as 35d7cf1

@GromNaN GromNaN deleted the deepclone-tidy-test branch April 10, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants