Skip to content

Commit 9da1f67

Browse files
committed
Add phpcs.xml rule ref line to README
1 parent 79d3886 commit 9da1f67

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ Then install these standards.
3030
composer require --dev sirbrillig/phpcs-variable-analysis
3131
```
3232

33+
You can then include the sniffs by adding a line like the following to [your phpcs.xml file](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#using-a-default-configuration-file).
34+
35+
```
36+
<rule ref="phpcs-variable-analysis.CodeAnalysis.VariableAnalysis"/>
37+
```
38+
3339
It should just work after that!
3440

3541
### Standalone

0 commit comments

Comments
 (0)