Robert Lu | b03ca01 | 2018-01-18 19:06:39 +0800 | [diff] [blame] | 1 | <?xml version="1.0"?> |
Robert Lu | 12f124c | 2018-01-25 23:19:41 +0800 | [diff] [blame] | 2 | <ruleset name="Apache_Thrift"> |
| 3 | <description>The coding standard for thrift.</description> |
Robert Lu | b03ca01 | 2018-01-18 19:06:39 +0800 | [diff] [blame] | 4 | |
| 5 | <file>lib/php/lib</file> |
Robert Lu | 12f124c | 2018-01-25 23:19:41 +0800 | [diff] [blame] | 6 | <file>lib/php/test</file> |
| 7 | <exclude-pattern>lib/php/test/packages/*</exclude-pattern> |
Robert Lu | b03ca01 | 2018-01-18 19:06:39 +0800 | [diff] [blame] | 8 | |
| 9 | <arg name="basepath" value="."/> |
| 10 | <arg name="colors" /> |
| 11 | <arg name="parallel" value="4" /> |
| 12 | |
| 13 | <rule ref="PSR2"> |
| 14 | <exclude name="PSR2.Methods.MethodDeclaration.Underscore"/> |
| 15 | <exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/> |
| 16 | </rule> |
| 17 | |
Robert Lu | 12f124c | 2018-01-25 23:19:41 +0800 | [diff] [blame] | 18 | <rule ref="PSR1.Files.SideEffects"> |
| 19 | <exclude-pattern>lib/php/test/*</exclude-pattern> |
| 20 | </rule> |
| 21 | <rule ref="Generic.Files.LineLength"> |
| 22 | <exclude-pattern>lib/php/test/*</exclude-pattern> |
| 23 | </rule> |
| 24 | |
Robert Lu | b03ca01 | 2018-01-18 19:06:39 +0800 | [diff] [blame] | 25 | </ruleset> |