Skip to content

Commit 1d83ed1

Browse files
gsherwoodjrfnl
authored andcommitted
Updated Customisable Sniff Properties (markdown)
1 parent 8a008ee commit 1d83ed1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

wiki/Customisable-Sniff-Properties.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,10 @@ If the `ignoreComments` property is set to `true`, comments at the end of a line
208208

209209
### Generic.Formatting.MultipleStatementAlignment
210210

211-
Property Name | Type | Default | Available Since
212-
------------- | ---- | ------- | ---------------
213-
maxPadding | int | 1000 | -
214-
error | bool | false | -
211+
Property Name | Type | Default | Available Since | Removed In
212+
------------- | ---- | ------- | --------------- | ----------
213+
maxPadding | int | 1000 | - |
214+
error | bool | false | - | 4.0.0
215215

216216
This sniff checks the alignment of assignment operators. If there are multiple adjacent assignments, it checks that the equals signs of each assignment are aligned.
217217

@@ -471,10 +471,10 @@ If the `error` property is set to `false`, a warning will be thrown for violatio
471471

472472
### Generic.Strings.UnnecessaryStringConcat
473473

474-
Property Name | Type | Default | Available Since
475-
-------------- | ---- | ------- | ---------------
476-
allowMultiline | bool | false | 2.3.4
477-
error | bool | true | -
474+
Property Name | Type | Default | Available Since | Removed In
475+
-------------- | ---- | ------- | --------------- | ----------
476+
allowMultiline | bool | false | 2.3.4 |
477+
error | bool | true | - | 4.0.0
478478

479479
This sniff checks that two strings using the same quoting style are not concatenated. Sometimes long strings are broken over multiple lines to work within a maximum line length, but this sniff will generate an error for these cases by default. Setting the `allowMultiline` property to `true` will get the sniff to allow string concatenation if the string covers multiple lines.
480480

0 commit comments

Comments
 (0)