Skip to content
This repository was archived by the owner on Apr 2, 2026. It is now read-only.

Use format preserving pretty-printing#35

Open
benbjurstrom wants to merge 2 commits intotighten:mainfrom
benbjurstrom:use-format-preserving-pretty-printing
Open

Use format preserving pretty-printing#35
benbjurstrom wants to merge 2 commits intotighten:mainfrom
benbjurstrom:use-format-preserving-pretty-printing

Conversation

@benbjurstrom
Copy link
Copy Markdown

This pull request adds format preserving pretty-printing to the PhpParser class. This should preserve existing code formatting for AST nodes that remain unchanged.

You can read more about it here: https://github.com/nikic/PHP-Parser/blob/master/doc/component/Pretty_printing.markdown#formatting-preserving-pretty-printing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant