Always split between XHP class attribute declarations when there is more than one...
commit87b6d9432f96e1ed923069732651adb391ac410b
authorJake Bailey <jakebailey@fb.com>
Fri, 14 Jul 2017 18:46:08 +0000 (14 11:46 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 14 Jul 2017 18:56:47 +0000 (14 11:56 -0700)
tree587b79c1366f1c82492172d04d57bbd7ab31759e
parent620bb32f4da3a4cbaf45a34afefefad6f3a51a78
Always split between XHP class attribute declarations when there is more than one in the list

Summary: Previously, we'd collapse multiple attribute declarations onto one line if they fit. This is undesirable, so after this change we always give each attribute declaration its own line when there is more than one.

Reviewed By: arxanas

Differential Revision: D5412974

fbshipit-source-id: 1d981f7e68b0aef1fe161b231fdd56598f2605e8
hphp/hack/src/hackfmt/hack_format.ml
hphp/hack/test/hackfmt/tests/xhp_class_attribute_declarations.php [new file with mode: 0644]
hphp/hack/test/hackfmt/tests/xhp_class_attribute_declarations.php.exp [new file with mode: 0644]