We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d84bb2f + 77359c5 commit 3997268Copy full SHA for 3997268
README.md
@@ -21,17 +21,15 @@ composer require --dev leviy/coding-standard
21
Create a file `phpcs.xml` in the root of the project with the following contents:
22
23
```xml
24
-<?xml version="1.0"?>
25
-<ruleset name="LEVIY">
26
- <description>LEVIY</description>
27
-
28
- <arg name="extensions" value="php" />
29
30
- <file>./src</file>
+<?xml version="1.0" encoding="UTF-8"?>
+<ruleset>
+ <rule ref="LEVIY"/>
31
32
- <exclude-pattern>*Test.php</exclude-pattern>
+ <config name="ignore_warnings_on_exit" value="1"/>
33
34
- <rule ref="LEVIY"/>
+ <file>src/</file>
+ <file>tests/</file>
+ <file>public/index.php</file>
35
</ruleset>
36
```
37
0 commit comments