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 1
1
<?xml version =" 1.0" ?>
2
2
<ruleset name =" PHPStan Extensions Coding Standard" >
3
- <config name =" php_version" value =" 70200 " />
3
+ <config name =" php_version" value =" 70400 " />
4
4
<arg name =" colors" />
5
5
<arg name =" extensions" value =" php" />
6
6
<arg name =" encoding" value =" utf-8" />
110
110
</rule >
111
111
<rule ref =" PSR1.Methods.CamelCapsMethodName.NotCamelCaps" />
112
112
<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" />
113
129
<exclude-pattern >tests/*/data</exclude-pattern >
114
130
<exclude-pattern >tests/*/data-attributes</exclude-pattern >
115
131
</ruleset >
You can’t perform that action at this time.
0 commit comments