Nikita Popov
Nikita Popov
Ah, I see. This library currently doesn't have anything like that.
The public interface of `PrettyPrinterAbstract` has a couple more methods: ```php interface PrettyPrinter { public function prettyPrint(array $stmts) : string; public function prettyPrintExpr(Expr $node) : string; public function prettyPrintFile(array $stmts)...
Resolved by https://github.com/nikic/iter/pull/93, I believe.
> Visited during the weekly T-compiler meeting, follow-up discussion will happen on this [Zulip stream](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Upgrading.20MinGW.20on.20the.20CI) Is this the right link? The last activity there was in 2020.
> Build our own toolchain with whatever compat settings we want. This may be a lot of effort, but at least it's infrequent... So, I looked into how hard it...
This is fixed by https://github.com/nikic/PHP-Parser/commit/1eb6b5653eb7aeb9e12d2bbbaa8b8f698528e0a2 and https://github.com/nikic/PHP-Parser/commit/cc34c2450c50504b7b3aaa36dfd6276eb9be77d8.
Going to close this one as it's not really clear what is being asked. Worth noting that https://github.com/nikic/PHP-Parser/issues/566 links to a repo that can generate the code for constructing nodes...
I don't think this functionality should be part of this library. It's a specific application, which can be implemented on top. (Though I wouldn't implement it as a pretty-printer extension,...
I've decided to merge this after all, for the next major version. It's only been ... six years? Ooops.
Overall, I'm not convinced that we need this. For the php-src use case, our current solution seems to work fine, and pretty much everyone else can use composer. Adding a...