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
use slevomat/coding-standard version 8.15.0 PHP version 8.3.13
slevomat/coding-standard
8.15.0
8.3.13
I have following config:
<rule ref="SlevomatCodingStandard.Classes.MethodSpacing"> <properties> <property name="minLinesCount" value="1"/> <property name="maxLinesCount" value="1"/> </properties> </rule>
if i use annotation in second method, rule is not working:
public function getData(): void { //method body } #[Override] public function action(): void { //method body }
Current output: no errors
Expected output:
ERROR | [x] Expected 1 blank line after method, found 4. (SlevomatCodingStandard.Classes.MethodSpacing.IncorrectLinesCountBetweenMethods)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
use
slevomat/coding-standard
version8.15.0
PHP version
8.3.13
I have following config:
if i use annotation in second method, rule is not working:
Current output:
no errors
Expected output:
The text was updated successfully, but these errors were encountered: