File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <!--
3+ @see https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset
4+ -->
5+ <ruleset >
6+ <rule ref =" PSR12" />
7+ <rule ref =" PHPCompatibility" />
8+ <rule ref =" SlevomatCodingStandard.TypeHints.DeclareStrictTypes" >
9+ <properties >
10+ <property name =" newlinesCountBetweenOpenTagAndDeclare" value =" 2" />
11+ <property name =" newlinesCountAfterDeclare" value =" 2" />
12+ <property name =" spacesCountAroundEqualsSign" value =" 0" />
13+ </properties >
14+ </rule >
15+ <rule ref =" SlevomatCodingStandard.TypeHints.ParameterTypeHint" >
16+ <exclude name =" SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification" />
17+ <exclude name =" SlevomatCodingStandard.TypeHints.ParameterTypeHint.UselessAnnotation" />
18+ </rule >
19+ <rule ref =" SlevomatCodingStandard.TypeHints.PropertyTypeHint" >
20+ <exclude name =" SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingTraversableTypeHintSpecification" />
21+ </rule >
22+ <rule ref =" SlevomatCodingStandard.TypeHints.ReturnTypeHint" >
23+ <exclude name =" SlevomatCodingStandard.TypeHints.ReturnTypeHint.UselessAnnotation" />
24+ <exclude name =" SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification" />
25+ </rule >
26+ <rule ref =" SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalFunctions" >
27+ <properties >
28+ <property name =" includeSpecialFunctions" value =" 1" />
29+ </properties >
30+ </rule >
31+ <rule ref =" SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses" />
32+ <rule ref =" SlevomatCodingStandard.PHP.OptimizedFunctionsWithoutUnpacking" />
33+ <rule ref =" SlevomatCodingStandard.Namespaces.UnusedUses" />
34+ </ruleset >
You can’t perform that action at this time.
0 commit comments