File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1616 <rule ref =" PEAR.Commenting.InlineComment" />
1717
1818 <rule ref =" Generic.Commenting.Todo" />
19+ <rule ref =" Generic.PHP.BacktickOperator" />
1920 <rule ref =" Generic.PHP.LowerCaseKeyword" />
2021 <rule ref =" Generic.PHP.DeprecatedFunctions" />
2122 <rule ref =" Generic.Formatting.SpaceAfterCast" />
4849 <rule ref =" Generic.PHP.ForbiddenFunctions" >
4950 <properties >
5051 <property name =" forbiddenFunctions" type =" array" >
52+ <element key =" chop" value =" rtrim" />
5153 <element key =" close" value =" closedir" />
5254 <element key =" sizeof" value =" count" />
5355 <element key =" delete" value =" unset" />
8587
8688 <rule ref =" Generic.Metrics.NestingLevel" >
8789 <properties >
88- <property name =" nestingLevel" value =" 5 " />
89- <property name =" absoluteNestingLevel" value =" 8 " />
90+ <property name =" nestingLevel" value =" 4 " />
91+ <property name =" absoluteNestingLevel" value =" 6 " />
9092 </properties >
9193 </rule >
9294
Original file line number Diff line number Diff line change 33 "description" : " ProtonLabs Coding Standard" ,
44 "type" : " phpcodesniffer-standard" ,
55 "keywords" : [
6+ " protonlabs" ,
67 " php-codesniffer" ,
78 " coding-standard"
89 ],
1112 "prefer-stable" : true ,
1213 "require" : {
1314 "php" : " ^7.1" ,
14- "slevomat/coding-standard" : " ^5.0" ,
15+ "slevomat/coding-standard" : " ^5.0|^6.0 " ,
1516 "squizlabs/php_codesniffer" : " ^3.5"
1617 },
1718 "license" : " MIT"
You can’t perform that action at this time.
0 commit comments