Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpcs.xml
More file actions
Latest commit
52 lines (50 loc) · 2.41 KB
/
Copy pathphpcs.xml
File metadata and controls
52 lines (50 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="UTF-8"?>
<rulesetname="cross-phpunit-utils-standard">
<configname="installed_paths"value="../../slevomat/coding-standard"/>
<exclude-pattern>**/test/*</exclude-pattern>
<exclude-pattern>**/vendor/*</exclude-pattern>
<ruleref="PSR2">
<excludename="Squiz.Functions.MultiLineFunctionDeclaration.Indent" />
</rule>
<ruleref="PSR12"/>
<ruleref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
<properties>
<propertyname="newlinesCountBetweenOpenTagAndDeclare"value="2" />
<propertyname="newlinesCountAfterDeclare"value="2" />
<propertyname="spacesCountAroundEqualsSign"value="0" />
</properties>
</rule>
<ruleref="SlevomatCodingStandard.Arrays.DisallowImplicitArrayCreation" />
<ruleref="SlevomatCodingStandard.Classes.UnusedPrivateElements">
<properties>
<propertyname="alwaysUsedPropertiesAnnotations"type="array">
<elementvalue="@ODM\" />
</property>
</properties>
</rule>
<ruleref="SlevomatCodingStandard.Functions.UnusedInheritedVariablePassedToClosure" />
<ruleref="SlevomatCodingStandard.Functions.UselessParameterDefaultValue" />
<ruleref="SlevomatCodingStandard.Namespaces.UnusedUses">
<properties>
<propertyname="searchAnnotations"value="true" />
</properties>
</rule>
<ruleref="SlevomatCodingStandard.Namespaces.UseFromSameNamespace" />
<ruleref="SlevomatCodingStandard.Namespaces.UselessAlias" />
<ruleref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses">
<properties>
<propertyname="caseSensitive"value="true" />
</properties>
</rule>
<ruleref="SlevomatCodingStandard.Namespaces.NamespaceDeclaration" />
<ruleref="SlevomatCodingStandard.Variables.UnusedVariable" />
<ruleref="SlevomatCodingStandard.Variables.UselessVariable" />
<ruleref="SlevomatCodingStandard.TypeHints.LongTypeHints" />
<ruleref="SlevomatCodingStandard.PHP.TypeCast" />
<ruleref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing">
<properties>
<propertyname="spacesCountBeforeColon"value="0" />
</properties>
</rule>
<ruleref="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue" />
</ruleset>