-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathphpcs.xml
More file actions
19 lines (17 loc) · 752 Bytes
/
phpcs.xml
File metadata and controls
19 lines (17 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0"?>
<ruleset
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd"
>
<file>src/</file>
<file>tests/</file>
<arg name="extensions" value="php" />
<arg value="p"/>
<arg name="basepath" value="."/>
<rule ref="PSR12">
<!-- https://github.com/squizlabs/PHP_CodeSniffer/issues/3200 -->
<exclude name="PSR12.Classes.AnonClassDeclaration.SpaceAfterKeyword"/>
<!-- We have a large number of comments between the closing brace of an `if` and the `else`. -->
<exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace"/>
</rule>
</ruleset>