This website requires JavaScript.
Explore
Help
Sign In
danog
/
PHP-Parser
Watch
1
Star
0
Fork
0
You've already forked PHP-Parser
mirror of
https://github.com/danog/PHP-Parser.git
synced
2024-12-11 08:59:46 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
5e5cb86e83
PHP-Parser
/
test
/
code
/
prettyPrinter
/
onlyPHP.file-test
17 lines
140 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add prettyPrintFile() method
2013-04-15 20:53:23 +02:00
File containing only PHP
-----
<?php
echo 'Foo Bar';
echo 'Bar Foo';
-----
<?php
echo 'Foo Bar';
Pretty printer test coverage Our output for yield / yield from is currently not very nice, but also not easy to change.
2016-02-20 18:55:48 +01:00
echo 'Bar Foo';
-----
<?php
Make canonicalization less aggressive
2016-04-05 03:17:30 +02:00
Pretty printer test coverage Our output for yield / yield from is currently not very nice, but also not easy to change.
2016-02-20 18:55:48 +01:00
-----
Introduce Nop statement to collect dangling comments A Nop statement will be inserted into statement lists if there are any trailing comments in the list (which would otherwise not be associated with any node). The pretty printer output currently still contains a superfluous newline.
2015-10-02 11:03:12 +02:00
<?php
Reference in New Issue
Copy Permalink