1
1
<?xml version =" 1.0" ?>
2
2
<ruleset name =" Inspirum Coding Standard" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" ../vendor/squizlabs/php_codesniffer/phpcs.xsd" >
3
3
<rule ref =" Doctrine" >
4
- <exclude name =" Generic.Files.LineLength" />
5
- <exclude name =" SlevomatCodingStandard.Classes.SuperfluousExceptionNaming.SuperfluousSuffix" />
6
- <exclude name =" SlevomatCodingStandard.Commenting.UselessFunctionDocComment.UselessDocComment" />
7
- <exclude name =" SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion" />
8
4
<exclude name =" Generic.CodeAnalysis.UselessOverridingMethod.Found" />
9
- <exclude name =" SlevomatCodingStandard.ControlStructures.EarlyExit.EarlyExitNotUsed" />
10
- <exclude name =" SlevomatCodingStandard.TypeHints.UselessConstantTypeHint.UselessVarAnnotation" />
11
- <exclude name =" Squiz.PHP.NonExecutableCode.Unreachable" />
5
+ <exclude name =" Generic.Files.LineLength" />
6
+ <exclude name =" Generic.Formatting.MultipleStatementAlignment.NotSame" />
12
7
<exclude name =" Squiz.Arrays.ArrayDeclaration.MultiLineNotAllowed" />
13
8
<exclude name =" Squiz.Commenting.FunctionComment.SpacingAfterParamType" />
9
+ <exclude name =" Squiz.PHP.NonExecutableCode.Unreachable" />
10
+ <exclude name =" SlevomatCodingStandard.Classes.SuperfluousExceptionNaming.SuperfluousSuffix" />
11
+ <exclude name =" SlevomatCodingStandard.Commenting.RequireOneLineDocComment.MultiLineDocComment" />
14
12
<exclude name =" SlevomatCodingStandard.Commenting.RequireOneLinePropertyDocComment.MultiLinePropertyComment" />
13
+ <exclude name =" SlevomatCodingStandard.Commenting.UselessFunctionDocComment.UselessDocComment" />
14
+ <exclude name =" SlevomatCodingStandard.ControlStructures.EarlyExit.EarlyExitNotUsed" />
15
15
<exclude name =" SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalFunctions.NonFullyQualified" />
16
- <exclude name =" SlevomatCodingStandard.Commenting.RequireOneLineDocComment.MultiLineDocComment " />
17
- <exclude name =" SlevomatCodingStandard.TypeHints.UnionTypeHintFormat .DisallowedShortNullable" />
18
- <exclude name =" Generic.Formatting.MultipleStatementAlignment.NotSame " />
16
+ <exclude name =" SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion " />
17
+ <exclude name =" SlevomatCodingStandard.TypeHints.DNFTypeHintFormat .DisallowedShortNullable" />
18
+ <exclude name =" SlevomatCodingStandard.TypeHints.UselessConstantTypeHint.UselessVarAnnotation " />
19
19
</rule >
20
20
<rule ref =" Generic.Formatting.SpaceAfterNot" >
21
21
<properties >
22
22
<property name =" spacing" value =" 0" />
23
23
</properties >
24
24
</rule >
25
- <rule ref =" SlevomatCodingStandard.Namespaces.UseSpacing " >
25
+ <rule ref =" SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses " >
26
26
<properties >
27
- <property name =" linesCountBetweenUseTypes" value =" 0" />
27
+ <property name =" caseSensitive" value =" true" />
28
+ <property name =" psr12Compatible" value =" true" />
28
29
</properties >
29
30
</rule >
30
- <rule ref =" SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalFunctions" />
31
31
<rule ref =" SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation" />
32
+ <rule ref =" SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalFunctions" />
32
33
<rule ref =" SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly" >
33
34
<properties >
34
35
<property name =" searchAnnotations" value =" false" />
35
36
</properties >
36
37
</rule >
37
-
38
- <rule ref =" SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses" >
38
+ <rule ref =" SlevomatCodingStandard.Namespaces.UseSpacing" >
39
39
<properties >
40
- <property name =" caseSensitive" value =" true" />
41
- <property name =" psr12Compatible" value =" true" />
40
+ <property name =" linesCountBetweenUseTypes" value =" 0" />
42
41
</properties >
43
42
</rule >
44
43
</ruleset >
0 commit comments