Open roslov opened 5 months ago
Something like this:
<rule ref="SlevomatCodingStandard.Classes.MethodSpacing">
<properties>
<property name="minLinesCountBeforeFirstMethod" value="0"/>
<property name="maxLinesCountBeforeFirstMethod" value="1"/>
<property name="minLinesCountBeforeMethod" value="0"/>
<property name="maxLinesCountBeforeMethod" value="1"/>
<property name="minLinesCountAfterMethod" value="0"/>
<property name="maxLinesCountAfterMethod" value="1"/>
</properties>
</rule>
Disable more than one new line between methods, functions, lines of code, etc.
Incorrect:
Correct:
or
Incorrect:
Correct: