Skip to content

Commit 01ea8a6

Browse files
gsherwoodjrfnl
authored andcommitted
Updated Customisable Sniff Properties (markdown)
1 parent 6d62a49 commit 01ea8a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wiki/Customisable-Sniff-Properties.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,9 +1381,9 @@ spacingAfterLast | int | 2 | 3.3.0
13811381

13821382
This sniff checks that there are two blank lines before and after functions declarations, but you can change the required padding using the `spacing`, `spacingBeforeFirst`, and `spacingAfterLast` properties.
13831383

1384-
The `spacingBeforeFirst` property is used to determine how many blank lines are required before a function when it is the first block of code inside a class, interface, or trait. This property is ignored when the function is outside one of these scopes, or if the function is preceded by member vars. If this property has not been set, the sniff will use whatever value has been set for the `spacing` property.
1384+
The `spacingBeforeFirst` property is used to determine how many blank lines are required before a function when it is the first block of code inside a statement group or control structure. This property is ignored when the function is outside one of these scopes, or if the function is preceded by member vars. If this property has not been set, the sniff will use whatever value has been set for the `spacing` property.
13851385

1386-
The `spacingAfterLast` property is used to determine how many blank lines are required after a function when it is the last block of code inside a class, interface, or trait. This property is ignored when the function is outside one of these scopes, or if any member vars are placed after the function. If this property has not been set, the sniff will use whatever value has been set for the `spacing` property.
1386+
The `spacingAfterLast` property is used to determine how many blank lines are required after a function when it is the last block of code inside a statement group or control structure. This property is ignored when the function is outside one of these scopes, or if any member vars are placed after the function. If this property has not been set, the sniff will use whatever value has been set for the `spacing` property.
13871387

13881388
The `spacing` property applies in all other cases.
13891389

0 commit comments

Comments
 (0)