Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Commit 77c252a

Browse files
committed
Loosen some rules
1 parent 546ad79 commit 77c252a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

phpcs.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<exclude-pattern>*.xml</exclude-pattern>
99

1010
<arg name="colors"/>
11-
<arg value="p"/>
11+
<arg value="ps"/>
1212

1313
<rule ref="PSR2">
1414
<exclude name="Generic.Files.LineLength"/>
@@ -19,16 +19,17 @@
1919
<rule ref="Generic.Commenting.DocComment.SpacingBeforeTags" />
2020
<rule ref="MySource.Commenting.FunctionComment.InvalidReturn" />
2121
<rule ref="MySource.Commenting.FunctionComment.MissingParamComment" />
22-
<rule ref="MySource.Commenting.FunctionComment.TypeHintMissing" />
22+
<!--<rule ref="MySource.Commenting.FunctionComment.TypeHintMissing" />-->
2323
<rule ref="Generic.Arrays.DisallowLongArraySyntax" />
2424
<rule ref="Generic.Classes.DuplicateClassName" />
2525
<rule ref="Generic.CodeAnalysis.EmptyStatement" />
2626
<rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall" />
2727
<rule ref="Generic.CodeAnalysis.JumbledIncrementer" />
2828
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement" />
2929
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier" />
30-
<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter" />
31-
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod" />
30+
<!--<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter" />-->
31+
<!--<rule ref="Generic.CodeAnalysis.UselessOverridingMethod" />-->
3232
<rule ref="Generic.Commenting.Fixme" />
33-
<rule ref="Generic.Commenting.Todo" />
34-
<rule ref="Generic.ControlStructures.InlineControlStructure" /></ruleset>
33+
<!--<rule ref="Generic.Commenting.Todo" />-->
34+
<rule ref="Generic.ControlStructures.InlineControlStructure" />
35+
</ruleset>

0 commit comments

Comments
 (0)