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 2828 "phpstan/phpstan" : " ^0.12.14" ,
2929 "php-coveralls/php-coveralls" : " ^2.1.0" ,
3030 "symfony/translation" : " ^4" ,
31- "doctrine/coding-standard" : " ^7 .0"
31+ "doctrine/coding-standard" : " ^9 .0"
3232 },
3333 "scripts" : {
3434 "phpstan" : " phpstan analyse src/ -c phpstan.neon --level=7 --no-progress" ,
Original file line number Diff line number Diff line change 4949 <property name =" enableNativeTypeHint" value =" false" />
5050 </properties >
5151 </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 >
5265</ruleset >
You can’t perform that action at this time.
0 commit comments