File tree 2 files changed +9
-3
lines changed 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 23
23
"nikic/php-parser" : " ^4.0"
24
24
},
25
25
"require-dev" : {
26
- "consistence/coding-standard" : " ^3.8 " ,
26
+ "consistence/coding-standard" : " ^3.0.1 " ,
27
27
"dealerdirect/phpcodesniffer-composer-installer" : " ^0.4.4" ,
28
28
"jakub-onderka/php-parallel-lint" : " ^1.0" ,
29
29
"phing/phing" : " ^2.16.0" ,
30
30
"phpstan/phpstan-phpunit" : " ^0.12" ,
31
31
"phpstan/phpstan-strict-rules" : " ^0.12" ,
32
32
"phpunit/phpunit" : " ^7.0" ,
33
- "slevomat/coding-standard" : " ^5.0.4 " ,
33
+ "slevomat/coding-standard" : " ^4.5.2 " ,
34
34
"doctrine/common" : " ^2.7" ,
35
35
"doctrine/orm" : " ^2.5" ,
36
36
"doctrine/collections" : " ^1.0" ,
Original file line number Diff line number Diff line change 20
20
</rule >
21
21
<rule ref =" SlevomatCodingStandard.TypeHints.TypeHintDeclaration" >
22
22
<properties >
23
+ <property name =" usefulAnnotations" type =" array" value ="
24
+ @dataProvider,
25
+ @requires
26
+ " />
23
27
<property name =" enableObjectTypeHint" value =" false" />
24
28
</properties >
29
+ <exclude name =" SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversableParameterTypeHintSpecification" />
30
+ <exclude name =" SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversableReturnTypeHintSpecification" />
25
31
</rule >
26
32
<rule ref =" SlevomatCodingStandard.ControlStructures.AssignmentInCondition" />
27
- <rule ref =" SlevomatCodingStandard.Operators .DisallowEqualOperators" />
33
+ <rule ref =" SlevomatCodingStandard.ControlStructures .DisallowEqualOperators" />
28
34
<rule ref =" SlevomatCodingStandard.ControlStructures.EarlyExit" />
29
35
<rule ref =" SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming" />
30
36
<rule ref =" SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming" />
You can’t perform that action at this time.
0 commit comments