Skip to content

Commit 314223d

Browse files
committed
Implement change discussed during PR review to the user upgrade guide
1 parent b8931a5 commit 314223d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wiki/Version-4.0-User-Upgrade-Guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ Previously a ruleset could already "extend" an array property for a sniff set by
352352

353353
As of PHP_CodeSniffer 4.0, a ruleset can also "extend" the default value of an array property as set in the sniff itself.
354354

355-
The upside of this is that if you want the default value + some extras, you no longer need to duplicate the default value from a sniff array property in your ruleset.
355+
The upside of this is that, if you want to use the default value + some extras, you no longer need to duplicate the default values from sniff array properties in your ruleset.
356356
The downside is, of course, that if the default value of the property in the sniff changes, your scans may start failing without warning.
357357

358358
#### Upgrading

0 commit comments

Comments
 (0)