Skip to content

Commit

Permalink
Merge pull request #1083 from WordPress-Coding-Standards/feature/cont…
Browse files Browse the repository at this point in the history
…rolstructurespacing-typos

Docs: Fix ControlStructureSpacing typos
jrfnl authored Aug 4, 2017
2 parents 0b2401e + b586603 commit 5f6f7d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WordPress/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@
* @since 0.13.0 Class name changed: this class is now namespaced.
*
* Last synced with base class 2017-01-15 at commit b024ad84656c37ef5733c6998ebc1e60957b2277.
* Note: This class has diverged quite far from the original. All the same, checking occassionally
* Note: This class has diverged quite far from the original. All the same, checking occasionally
* to see if there are upstream fixes made from which this sniff can benefit, is warranted.
* @link https://github.com/squizlabs/PHP_CodeSniffer/blob/master/CodeSniffer/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php
*/
@@ -47,7 +47,7 @@ class ControlStructureSpacingSniff extends Sniff {
/**
* Require for space before T_COLON when using the alternative syntax for control structures.
*
* @var string one of 'required', 'forbidden', optional'
* @var string one of 'required', 'forbidden', 'optional'
*/
public $space_before_colon = 'required';

0 comments on commit 5f6f7d4

Please sign in to comment.