hh_format pipe operator support - optional pretty print wrapping
commit424927b224bf9e3866406761f4b5549932a9fa3e
authorAlexander Chow <achow@fb.com>
Wed, 9 Mar 2016 05:35:20 +0000 (8 21:35 -0800)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Wed, 9 Mar 2016 18:32:09 +0000 (9 10:32 -0800)
tree2ee46c7309a1c35361c9a96080995d1051e1dd94
parentc79e58e60d20e6c1ada578f805d59ed217c04cdc
hh_format pipe operator support - optional pretty print wrapping

Summary:hh_format pipe operator support. Can either keep all on one line, or wrap
onto multiple lines (the common way).

Reviewed By: int3

Differential Revision: D3004095

fb-gh-sync-id: 110ed48ef8d3838e10cf35abbfefb660729c02fc
shipit-source-id: 110ed48ef8d3838e10cf35abbfefb660729c02fc
hphp/hack/src/format/format_hack.ml
hphp/hack/test/format/pipe_operator.php [new file with mode: 0644]
hphp/hack/test/format/pipe_operator.php.exp [new file with mode: 0644]
hphp/hack/test/format/pipe_operator_nested_call.php [new file with mode: 0644]
hphp/hack/test/format/pipe_operator_nested_call.php.exp [new file with mode: 0644]
hphp/hack/test/format/pipe_operator_nested_call2.php [new file with mode: 0644]
hphp/hack/test/format/pipe_operator_nested_call2.php.exp [new file with mode: 0644]
hphp/hack/test/format/pipe_operator_pretty_print_wrapping.php [new file with mode: 0644]
hphp/hack/test/format/pipe_operator_pretty_print_wrapping.php.exp [new file with mode: 0644]