|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<ruleset name="cross-phpunit-utils-standard"> |
| 3 | + <config name="installed_paths" value="../../slevomat/coding-standard"/> |
| 4 | + <exclude-pattern>**/test/*</exclude-pattern> |
| 5 | + <exclude-pattern>**/vendor/*</exclude-pattern> |
| 6 | + |
| 7 | + |
| 8 | + <rule ref="PSR2"> |
| 9 | + <exclude name="Squiz.Functions.MultiLineFunctionDeclaration.Indent" /> |
| 10 | + </rule> |
| 11 | + <rule ref="PSR12"/> |
| 12 | + <rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes"> |
| 13 | + <properties> |
| 14 | + <property name="newlinesCountBetweenOpenTagAndDeclare" value="2" /> |
| 15 | + <property name="newlinesCountAfterDeclare" value="2" /> |
| 16 | + <property name="spacesCountAroundEqualsSign" value="0" /> |
| 17 | + </properties> |
| 18 | + </rule> |
| 19 | + <rule ref="SlevomatCodingStandard.Arrays.DisallowImplicitArrayCreation" /> |
| 20 | + <rule ref="SlevomatCodingStandard.Classes.UnusedPrivateElements"> |
| 21 | + <properties> |
| 22 | + <property name="alwaysUsedPropertiesAnnotations" type="array"> |
| 23 | + <element value="@ODM\" /> |
| 24 | + </property> |
| 25 | + </properties> |
| 26 | + </rule> |
| 27 | + <rule ref="SlevomatCodingStandard.Functions.UnusedInheritedVariablePassedToClosure" /> |
| 28 | + <rule ref="SlevomatCodingStandard.Functions.UselessParameterDefaultValue" /> |
| 29 | + <rule ref="SlevomatCodingStandard.Namespaces.UnusedUses"> |
| 30 | + <properties> |
| 31 | + <property name="searchAnnotations" value="true" /> |
| 32 | + </properties> |
| 33 | + </rule> |
| 34 | + <rule ref="SlevomatCodingStandard.Namespaces.UseFromSameNamespace" /> |
| 35 | + <rule ref="SlevomatCodingStandard.Namespaces.UselessAlias" /> |
| 36 | + <rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses"> |
| 37 | + <properties> |
| 38 | + <property name="caseSensitive" value="true" /> |
| 39 | + </properties> |
| 40 | + </rule> |
| 41 | + <rule ref="SlevomatCodingStandard.Namespaces.NamespaceDeclaration" /> |
| 42 | + <rule ref="SlevomatCodingStandard.Variables.UnusedVariable" /> |
| 43 | + <rule ref="SlevomatCodingStandard.Variables.UselessVariable" /> |
| 44 | + <rule ref="SlevomatCodingStandard.TypeHints.LongTypeHints" /> |
| 45 | + <rule ref="SlevomatCodingStandard.PHP.TypeCast" /> |
| 46 | + <rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing"> |
| 47 | + <properties> |
| 48 | + <property name="spacesCountBeforeColon" value="0" /> |
| 49 | + </properties> |
| 50 | + </rule> |
| 51 | + <rule ref="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue" /> |
| 52 | +</ruleset> |
0 commit comments