File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -16,18 +16,20 @@ composer require --dev leviy/coding-standard
1616
1717Create a ` phpcs.xml ` file containing the following bootstrap code sniffer configuration:
1818
19- <?xml version="1.0"?>
20- <ruleset name="LEVIY">
21- <description>LEVIY</description>
22-
23- <arg name="extensions" value="php" />
24-
25- <file>./src</file>
26-
27- <exclude-pattern>*Test.php</exclude-pattern>
28-
29- <rule ref="LEVIY"/>
30- </ruleset>
19+ ``` xml
20+ <?xml version =" 1.0" ?>
21+ <ruleset name =" LEVIY" >
22+ <description >LEVIY</description >
23+
24+ <arg name =" extensions" value =" php" />
25+
26+ <file >./src</file >
27+
28+ <exclude-pattern >*Test.php</exclude-pattern >
29+
30+ <rule ref =" LEVIY" />
31+ </ruleset >
32+ ```
3133
3234An annotated ` ruleset.xml ` configuration file can be found [ here] ( https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml )
3335where you can see the complete range of features and configuration options that can be used to modify the configuration to your project needs.
You can’t perform that action at this time.
0 commit comments