Commit Graph

15 Commits

Author SHA1 Message Date
Razvan Nitu 49b9fe4051
Merge pull request #579 from belka-ew/bug/revert-array-indent-on-line
Keep "(" indentation with a "]" in the same line
2023-04-07 23:19:48 +08:00
Eugen Wissner fec7394175 Add reflow_property_chains option
Recalculate the splitting of property chains into multiple lines.
2023-03-29 11:29:59 +02:00
Eugen Wissner 727472c365
Keep "(" indentation with a "]" in the same line 2023-03-20 18:23:33 +01:00
WebFreak001 840aeee45e add missing test 2023-03-01 22:07:37 +01:00
Eugen Wissner dba8c87ebc Revert operator indentation in an argument list 2023-02-06 10:17:09 +01:00
Eugen Wissner a4fbc6f881 Revert chain indentation in an argument list 2023-01-15 20:51:03 +01:00
Eugen Wissner 57f57d95de Fix else indentation after array literal 2023-01-14 02:18:28 +01:00
Eugen Wissner 8d42254d47 Fix indentation of callchains with comments
Weird formatting and indentation of multiline callchains with comments
in the middle.
2022-08-06 08:55:43 +02:00
Bastiaan Veelo 2a4af7a2b2
Retain line ending by default. (#553) 2022-07-28 17:21:10 +02:00
Eugen Wissner 026a58e273 Very long chained calls in array literals are indented weirdly 2022-07-28 17:14:01 +02:00
belka-ew d862d8aef1
Fix array literal indentation in foreach (#554) 2022-06-14 12:35:54 +00:00
Bastiaan Veelo f81ddeadbd
obey `end_of_line` setting in all tokens (#550)
Multi-line tokens would be written with `LF`, regardless the `end_of_line` setting.

Fixes #228 and also produces end_of_line specified line-endings in strings.
2022-05-25 13:21:07 +02:00
Eugen Wissner 77e2ba4e3d Fix array indentation as argument 2022-05-23 14:09:26 +02:00
Martin Kinkelin b776d5a9b9 Fix tests 2021-10-31 20:37:32 +09:00
Sönke Ludwig 0f61586438 Add tests for "knr" brace style. 2021-04-16 13:57:59 +02:00