Skip to content

Commit 8ce69d3

Browse files
committed
Fix some grammar issues and typos
1 parent 7e6eb2a commit 8ce69d3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

wiki/Annotated-Ruleset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ The following sample file documents the ruleset.xml format and shows you the com
300300
Array values are specified by using "element" tags
301301
with "key" and "value" attributes.
302302
303-
NOTE: This syntax is is only supported in PHP_CodeSniffer
303+
NOTE: This syntax is only supported in PHP_CodeSniffer
304304
versions 3.3.0 and greater.
305305
-->
306306
<rule ref="Generic.PHP.ForbiddenFunctions">

wiki/Coding-Standard-Tutorial.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class DisallowHashCommentsSniff implements Sniff
123123
?>
124124
```
125125

126-
By default, PHP_CodeSniffer assumes all sniffs are designed to check PHP code only. You can specify a list of tokenizers that your sniff supports, allowing it to be used wth PHP, JavaScript or XML files, or any combination of the three. You do this by setting the `$supportedTokenizers` member variable in your sniff. Adding the following code to your sniff will tell PHP_CodeSniffer that it can be used to check both PHP and JavaScript code:
126+
By default, PHP_CodeSniffer assumes all sniffs are designed to check PHP code only. You can specify a list of tokenizers that your sniff supports, allowing it to be used wth PHP, JavaScript or CSS files, or any combination of the three. You do this by setting the `$supportedTokenizers` member variable in your sniff. Adding the following code to your sniff will tell PHP_CodeSniffer that it can be used to check both PHP and JavaScript code:
127127

128128
```php
129129
/**
@@ -132,9 +132,9 @@ By default, PHP_CodeSniffer assumes all sniffs are designed to check PHP code on
132132
* @var array
133133
*/
134134
public $supportedTokenizers = array(
135-
'PHP',
136-
'JS',
137-
);
135+
'PHP',
136+
'JS',
137+
);
138138
```
139139

140140

0 commit comments

Comments
 (0)