File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1010 <exclude-pattern >*</exclude-pattern >
1111 </rule >
1212 <rule ref =" PSR12.Namespaces.CompoundNamespaceDepth" />
13+ <rule ref =" PSR12.Functions.NullableTypeDeclaration" />
1314
1415 <rule ref =" Generic.Commenting.Todo" />
1516 <rule ref =" Generic.PHP.LowerCaseKeyword" />
1920 <rule ref =" Generic.CodeAnalysis.UnusedFunctionParameter" />
2021 <rule ref =" Generic.CodeAnalysis.UselessOverridingMethod" />
2122 <rule ref =" Generic.CodeAnalysis.UnconditionalIfStatement" />
23+ <rule ref =" Generic.CodeAnalysis.EmptyPHPStatement" />
24+ <rule ref =" Generic.Classes.DuplicateClassName" />
25+ <rule ref =" Generic.WhiteSpace.IncrementDecrementSpacing" />
26+ <rule ref =" Generic.VersionControl.GitMergeConflict" />
2227
2328 <!-- All PHP files MUST use the Unix LF (linefeed) line ending only. -->
2429 <rule ref =" Generic.Files.LineEndings" >
4449 <!-- Use casting instead of functions -->
4550 <element key =" strval" value =" (string)" />
4651 <element key =" intval" value =" (int)" />
52+ <element key =" floatval" value =" (float)" />
4753 <element key =" boolval" value =" (bool)" />
4854 </property >
4955 </properties >
5965 <rule ref =" Generic.Metrics.NestingLevel" >
6066 <properties >
6167 <property name =" nestingLevel" value =" 5" />
62- <property name =" absoluteNestingLevel" value =" 11 " />
68+ <property name =" absoluteNestingLevel" value =" 10 " />
6369 </properties >
6470 </rule >
6571
Original file line number Diff line number Diff line change 1111 "require" : {
1212 "php" : " ^7.1" ,
1313 "slevomat/coding-standard" : " ^4.8" ,
14- "squizlabs/php_codesniffer" : " ^3.3 "
14+ "squizlabs/php_codesniffer" : " ^3.4 "
1515 },
1616 "license" : " MIT"
1717}
You can’t perform that action at this time.
0 commit comments