File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 18
18
"nette/utils" : " <2.3.0"
19
19
},
20
20
"require-dev" : {
21
- "consistence/coding-standard" : " ^3.0.1 " ,
21
+ "consistence/coding-standard" : " ^3.10 " ,
22
22
"dealerdirect/phpcodesniffer-composer-installer" : " ^0.7.0" ,
23
23
"ergebnis/composer-normalize" : " ^2.0.2" ,
24
24
"nette/forms" : " ^3.0" ,
30
30
"phpstan/phpstan-strict-rules" : " ^0.12" ,
31
31
"phpunit/phpunit" : " ^7.0" ,
32
32
"satooshi/php-coveralls" : " ^1.0" ,
33
- "slevomat/coding-standard" : " ^4.5.2 "
33
+ "slevomat/coding-standard" : " ^6.4 "
34
34
},
35
35
"config" : {
36
36
"sort-packages" : true
Original file line number Diff line number Diff line change 17
17
<property name =" newlinesCountBetweenOpenTagAndDeclare" value =" 0" />
18
18
</properties >
19
19
</rule >
20
- <rule ref =" SlevomatCodingStandard.TypeHints.TypeHintDeclaration " >
20
+ <rule ref =" SlevomatCodingStandard.TypeHints.ParameterTypeHint " >
21
21
<properties >
22
22
<property name =" usefulAnnotations" type =" array" value ="
23
23
@dataProvider,
28
28
<exclude name =" SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversableParameterTypeHintSpecification" />
29
29
<exclude name =" SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversableReturnTypeHintSpecification" />
30
30
</rule >
31
+ <rule ref =" SlevomatCodingStandard.TypeHints.PropertyTypeHint" >
32
+ <properties >
33
+ <property name =" enableNativeTypeHint" value =" false" />
34
+ </properties >
35
+ <exclude name =" SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingTraversableTypeHintSpecification" />
36
+ </rule >
37
+ <rule ref =" SlevomatCodingStandard.TypeHints.ReturnTypeHint" >
38
+ <properties >
39
+ <property name =" enableObjectTypeHint" value =" false" />
40
+ </properties >
41
+ <exclude name =" SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification" />
42
+ </rule >
31
43
<rule ref =" SlevomatCodingStandard.ControlStructures.AssignmentInCondition" />
32
- <rule ref =" SlevomatCodingStandard.ControlStructures .DisallowEqualOperators" />
44
+ <rule ref =" SlevomatCodingStandard.Operators .DisallowEqualOperators" />
33
45
<rule ref =" SlevomatCodingStandard.ControlStructures.EarlyExit" />
34
46
<rule ref =" SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming" />
35
47
<rule ref =" SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming" />
You can’t perform that action at this time.
0 commit comments