-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpcs.xml
More file actions
19 lines (18 loc) · 859 Bytes
/
phpcs.xml
File metadata and controls
19 lines (18 loc) · 859 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 name="Interweber">
<description>Coding standard based on CakePHP, but allowing Braces on the same Line.</description>
<arg name="extensions" value="php"/>
<!-- Include the whole CakePHP standard -->
<rule ref="vendor/interweberde/interweber-cs/Interweber/ruleset.xml">
<!-- this rule breaks psalm template-types - therefore disabling it. -->
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation"/>
<exclude name="Generic.WhiteSpace.DisallowTabIndent.TabsUsed"/>
</rule>
<rule ref="vendor/sirbrillig/phpcs-variable-analysis/VariableAnalysis/ruleset.xml"/>
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses">
<properties>
<property name="searchAnnotations" value="true"/>
</properties>
</rule>
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed"/>
</ruleset>