File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<ruleset name =" PHPStan Extensions Coding Standard" >
3- <config name =" php_version" value =" 70200 " />
3+ <config name =" php_version" value =" 70400 " />
44 <arg name =" colors" />
55 <arg name =" extensions" value =" php" />
66 <arg name =" encoding" value =" utf-8" />
110110 </rule >
111111 <rule ref =" PSR1.Methods.CamelCapsMethodName.NotCamelCaps" />
112112 <rule ref =" Consistence.NamingConventions.ValidVariableName.NotCamelCaps" />
113+ <rule ref =" SlevomatCodingStandard.Functions.DisallowTrailingCommaInCall" >
114+ <properties >
115+ <property name =" onlySingleLine" value =" true" />
116+ </properties >
117+ </rule >
118+ <rule ref =" SlevomatCodingStandard.Functions.RequireTrailingCommaInCall" >
119+ <properties >
120+ <property name =" enable" value =" true" />
121+ </properties >
122+ </rule >
123+ <rule ref =" SlevomatCodingStandard.Functions.RequireArrowFunction" >
124+ <properties >
125+ <property name =" enable" value =" true" />
126+ </properties >
127+ </rule >
128+ <rule ref =" SlevomatCodingStandard.Functions.ArrowFunctionDeclaration" />
113129 <exclude-pattern >tests/*/data</exclude-pattern >
114130 <exclude-pattern >tests/*/data-attributes</exclude-pattern >
115131</ruleset >
You can’t perform that action at this time.
0 commit comments