Pattern: Malformed opening function brace (BSD Allman)
Issue: -
This rule checks the position of the opening brace of a function and/or closure (anonymous function).
checkFunctions
and checkClosures
properties can be used to have the rule check one or both of these code blocks.
<!-- Don't check function braces, but check closure braces. -->
<rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman">
<properties>
<property name="checkFunctions" value="false" />
<property name="checkClosures" value="true" />
</properties>
</rule>