Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Preserve whitespace/indentation during transformations #2

Open
Ocramius opened this issue Jan 14, 2017 · 3 comments
Open

Preserve whitespace/indentation during transformations #2

Ocramius opened this issue Jan 14, 2017 · 3 comments

Comments

@Ocramius
Copy link
Member

@nikic provided a nice gist of an experimental php-parser feature that would allow whitespace preservation - see https://gist.github.com/nikic/3229644ada5576622d7d538f6bff2098

Any takers for implementing it also in here? ;-)

@Ocramius Ocramius changed the title Keep whitespace and indentation as it was before Preserve whitespace/indentation during transformations Jan 14, 2017
@oprokidnev
Copy link

https://github.com/FriendsOfPHP/PHP-CS-Fixer
native_function_invocation fixer is now avaliable with space indentation save support.
May be used as an alternative to this tool.

@Ocramius
Copy link
Member Author

Ocramius commented Mar 24, 2017 via email

@bm-pzegardlo
Copy link

bm-pzegardlo commented Jun 28, 2018

current state of @nikic php-parser with whitespace preservation nikic/PHP-Parser#344

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

No branches or pull requests

3 participants