We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable more than one new line between methods, functions, lines of code, etc.
Incorrect:
$a = 10; return $a;
Correct:
or
} public function someMethod(): void {
The text was updated successfully, but these errors were encountered:
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>
Sorry, something went wrong.
No branches or pull requests
Disable more than one new line between methods, functions, lines of code, etc.
Incorrect:
Correct:
or
Incorrect:
Correct:
The text was updated successfully, but these errors were encountered: