Skip to content
Snippets Groups Projects
Unverified Commit caff1023 authored by Christoph Wurst's avatar Christoph Wurst
Browse files

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: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
parent edf8ce32
No related branches found
No related tags found
Loading
Showing
with 38 additions and 60 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment