1+ <?xml version =" 1.0" ?>
2+ <ruleset >
3+ <rule ref =" PSR2" />
4+
5+ <rule ref =" Generic.Files.LineLength.TooLong" >
6+ <type >error</type >
7+ </rule >
8+
9+ <rule ref =" Squiz.Strings.ConcatenationSpacing" />
10+
11+ <rule ref =" ./vendor/slevomat/coding-standard/SlevomatCodingStandard/ruleset.xml" >
12+ <exclude name =" SlevomatCodingStandard.ControlStructures.RequireYodaComparison.RequiredYodaComparison" />
13+ <exclude name =" SlevomatCodingStandard.Files.TypeNameMatchesFileName.NoMatchBetweenTypeNameAndFileName" />
14+ <exclude name =" SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses" />
15+ <exclude name =" SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation.NonFullyQualifiedClassName" />
16+ <exclude name =" SlevomatCodingStandard.Namespaces.FullyQualifiedExceptions.NonFullyQualifiedException" />
17+ <exclude name =" SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalFunctions.NonFullyQualified" />
18+ <exclude name =" SlevomatCodingStandard.Namespaces.UseOnlyWhitelistedNamespaces.NonFullyQualified" />
19+ <exclude name =" SlevomatCodingStandard.Types.EmptyLinesAroundTypeBraces" />
20+ <exclude name =" SlevomatCodingStandard.Commenting.DisallowOneLinePropertyDocComment.OneLinePropertyComment" />
21+ <exclude name =" SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming" />
22+ <exclude name =" SlevomatCodingStandard.Classes.SuperfluousExceptionNaming.SuperfluousSuffix" />
23+ <exclude name =" SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming.SuperfluousSuffix" />
24+ <exclude name =" SlevomatCodingStandard.Operators.DisallowIncrementAndDecrementOperators.DisallowedPreDecrementOperator" />
25+ <exclude name =" SlevomatCodingStandard.Operators.DisallowIncrementAndDecrementOperators.DisallowedPostDecrementOperator" />
26+ <exclude name =" SlevomatCodingStandard.ControlStructures.DisallowShortTernaryOperator.DisallowedShortTernaryOperator" />
27+ <exclude name =" SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalConstants.NonFullyQualified" />
28+ <exclude name =" SlevomatCodingStandard.ControlStructures.NewWithoutParentheses.UselessParentheses" />
29+ <exclude name =" SlevomatCodingStandard.PHP.UselessParentheses.UselessParentheses" />
30+ <exclude name =" SlevomatCodingStandard.Classes.TraitUseSpacing.IncorrectLinesCountBeforeFirstUse" />
31+ <exclude name =" SlevomatCodingStandard.Commenting.UselessInheritDocComment.UselessInheritDocComment" />
32+ </rule >
33+
34+ <rule ref =" SlevomatCodingStandard.TypeHints.TypeHintDeclaration" >
35+ <exclude-pattern >./tests/*/*Test.php</exclude-pattern >
36+
37+ <properties >
38+ <property name =" allAnnotationsAreUseful" type =" boolean" value =" true" />
39+ </properties >
40+ </rule >
41+
42+ <rule ref =" SlevomatCodingStandard.TypeHints.DeclareStrictTypes" >
43+ <properties >
44+ <property name =" spacesCountAroundEqualsSign" value =" 0" />
45+ </properties >
46+ </rule >
47+
48+ <rule ref =" SlevomatCodingStandard.Namespaces.UnusedUses" >
49+ <properties >
50+ <property name =" searchAnnotations" value =" true" />
51+ </properties >
52+ </rule >
53+
54+ <rule ref =" SlevomatCodingStandard.Namespaces.UseOnlyWhitelistedNamespaces" >
55+ <properties >
56+ <property name =" allowUseFromRootNamespace" value =" true" />
57+ </properties >
58+ </rule >
59+ </ruleset >
0 commit comments