File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -420,7 +420,9 @@ Mention Slevomat Coding Standard in your project's `ruleset.xml`:
420420``` xml
421421<?xml version =" 1.0" ?>
422422<ruleset name =" AcmeProject" >
423- <config name =" installed_paths" value =" ../../slevomat/coding-standard" /><!-- relative path from PHPCS source location -->
423+ <rule ref =" vendor/slevomat/coding-standard/SlevomatCodingStandard/ruleset.xml" ><!-- relative path to your ruleset.xml -->
424+ <!-- sniffs to exclude -->
425+ </rule >
424426</ruleset >
425427```
426428
@@ -439,7 +441,7 @@ Or write your own ruleset.xml by referencing the selected sniffs. This is a samp
439441<ruleset name =" AcmeProject" >
440442 <config name =" installed_paths" value =" ../../slevomat/coding-standard" /><!-- relative path from PHPCS source location -->
441443 <rule ref =" SlevomatCodingStandard.Arrays.TrailingArrayComma" />
442- <!-- ... other sniffs to include... -->
444+ <!-- other sniffs to include -->
443445</ruleset >
444446```
445447
You can’t perform that action at this time.
0 commit comments