brackets should always be placed on the next line. you can use uncrustify with the openms config (tools/uncrustify.cfg) to globally correct this