Proposal for Sniff: SlevomatCodingStandard.Classes.ConstructorPropertyPromotionSpacing
#1684
Labels
SlevomatCodingStandard.Classes.ConstructorPropertyPromotionSpacing
#1684
Documentation
SlevomatCodingStandard.Classes.ConstructorPropertyPromotionSpacing 🔧
Checks that there is a certain number of blank lines between promoted properties in constructor.
Sniff provides the following settings:
minLinesCountBeforeWithComment
: minimum number of lines before promoted property with a documentation comment or attribute (default value is 1)maxLinesCountBeforeWithComment
: maximum number of lines before promoted property with a documentation comment or attribute (default value is 1)minLinesCountBeforeWithoutComment
: minimum number of lines before promoted property without a documentation comment or attribute (default value is 0)maxLinesCountBeforeWithoutComment
: maximum number of lines before promoted property without a documentation comment or attribute (default value is 1)Code Samples
The text was updated successfully, but these errors were encountered: