nextcloud/apps/theming
Christoph Wurst caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.

This also removes and empty lines from method/function bodies at the
beginning and end.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 14:19:56 +02:00
..
appinfo Make sure every file ends with an empty newline 2020-04-09 16:11:50 +02:00
css [#18661] Always include custom login image in theming 2020-01-07 22:27:20 +01:00
img Add the icons for shipped apps 2017-01-19 10:42:22 +01:00
js Validate urls in theming settings and properly handle error messages 2019-07-31 10:20:57 +02:00
l10n [tx-robot] updated from transifex 2020-03-31 02:19:03 +00:00
lib Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
templates Fix multiline comments 2020-04-08 22:24:54 +02:00
tests Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00