File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 28
28
"phpstan/phpstan" : " ^0.12.14" ,
29
29
"php-coveralls/php-coveralls" : " ^2.1.0" ,
30
30
"symfony/translation" : " ^4" ,
31
- "doctrine/coding-standard" : " ^7 .0"
31
+ "doctrine/coding-standard" : " ^9 .0"
32
32
},
33
33
"scripts" : {
34
34
"phpstan" : " phpstan analyse src/ -c phpstan.neon --level=7 --no-progress" ,
Original file line number Diff line number Diff line change 49
49
<property name =" enableNativeTypeHint" value =" false" />
50
50
</properties >
51
51
</rule >
52
+
53
+ <!-- Disable "mixed" type hints only available since PHP 8.0 -->
54
+ <rule ref =" SlevomatCodingStandard.TypeHints.ParameterTypeHint" >
55
+ <properties >
56
+ <property name =" enableMixedTypeHint" value =" false" />
57
+ </properties >
58
+ </rule >
59
+
60
+ <rule ref =" SlevomatCodingStandard.TypeHints.ReturnTypeHint" >
61
+ <properties >
62
+ <property name =" enableMixedTypeHint" value =" false" />
63
+ </properties >
64
+ </rule >
52
65
</ruleset >
You can’t perform that action at this time.
0 commit comments