Commit | Line | Data |
---|---|---|
1ad6f667 | 1 | <?xml version="1.0"?> |
d6336704 TD |
2 | <ruleset |
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
4 | xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd" | |
5 | > | |
1ad6f667 TD |
6 | <file>wcfsetup/</file> |
7 | <exclude-pattern>lib/system/api/*</exclude-pattern> | |
8 | <arg name="extensions" value="php" /> | |
9 | <arg value="p"/> | |
10 | <arg name="basepath" value="."/> | |
11 | ||
a9229942 TD |
12 | <rule ref="PSR12"> |
13 | <!-- https://github.com/squizlabs/PHP_CodeSniffer/issues/3200 --> | |
14 | <exclude name="PSR12.Classes.AnonClassDeclaration.SpaceAfterKeyword"/> | |
15 | ||
16 | <!-- We have a large number of comments between the closing brace of an `if` and the `else`. --> | |
17 | <exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace"/> | |
18 | </rule> | |
1ad6f667 | 19 | </ruleset> |